mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/telegramdesktop/tdesktop
synced 2026-09-21 00:23:56 +08: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