mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
autoload settings box added, working for voice messages and gifs (photos TODO)
This commit is contained in:
@@ -903,6 +903,7 @@ struct AudioData {
|
||||
void forget() {
|
||||
}
|
||||
|
||||
bool prepareAutoLoader(const HistoryItem *item, bool force = false);
|
||||
void save(const QString &toFile);
|
||||
|
||||
void cancel(bool beforeDownload = false) {
|
||||
@@ -1147,7 +1148,7 @@ struct DocumentData {
|
||||
bool loadingStarted() {
|
||||
return loader && loader->started();
|
||||
}
|
||||
void prepareAutoLoader();
|
||||
bool prepareAutoLoader(const HistoryItem *item, bool force = false);
|
||||
StickerData *sticker() {
|
||||
return (type == StickerDocument) ? static_cast<StickerData*>(_additional) : 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user