mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Suggest sending large texts as files.
This commit is contained in:
@@ -285,7 +285,10 @@ void DocumentMedia::checkStickerLarge() {
|
||||
void DocumentMedia::automaticLoad(
|
||||
Data::FileOrigin origin,
|
||||
const HistoryItem *item) {
|
||||
if (_owner->status != FileReady || loaded() || _owner->cancelled()) {
|
||||
if (_owner->status != FileReady
|
||||
|| loaded()
|
||||
|| _owner->uploading()
|
||||
|| _owner->cancelled()) {
|
||||
return;
|
||||
} else if (!item && !_owner->sticker() && !_owner->isAnimation()) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user