mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
upload radial progress and upload cancel done, photo / file / audio autodownload settings respected
This commit is contained in:
@@ -154,9 +154,7 @@ namespace Notify {
|
||||
if (HistoryMedia *media = item->getMedia()) {
|
||||
media->stopInline(item);
|
||||
if (DocumentData *document = media->getDocument()) { // forget data from memory
|
||||
if (!document->data.isEmpty() && document->prepareAutoLoader(item)) {
|
||||
document->data.clear();
|
||||
}
|
||||
document->forget();
|
||||
}
|
||||
stopped = true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user