mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 22:54:01 +02:00
Don't rely on MTP* when sending photos.
This commit is contained in:
parent
3698396677
commit
54f467eb47
1 changed files with 1 additions and 1 deletions
|
@ -974,7 +974,7 @@ void FileLoadTask::process(Args &&args) {
|
||||||
filesize,
|
filesize,
|
||||||
isSticker);
|
isSticker);
|
||||||
|
|
||||||
if (_type == SendMediaType::Photo && photo.type() == mtpc_photoEmpty) {
|
if (_type == SendMediaType::Photo && photoThumbs.empty()) {
|
||||||
_type = SendMediaType::File;
|
_type = SendMediaType::File;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue