mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +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,
|
||||
isSticker);
|
||||
|
||||
if (_type == SendMediaType::Photo && photo.type() == mtpc_photoEmpty) {
|
||||
if (_type == SendMediaType::Photo && photoThumbs.empty()) {
|
||||
_type = SendMediaType::File;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue