mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-31 09:36:12 +00:00
Show tdesktop cloud themes in a box.
This commit is contained in:
@@ -693,7 +693,8 @@ bool DocumentData::saveToCache() const {
|
||||
return (type == StickerDocument && size < Storage::kMaxStickerInMemory)
|
||||
|| (isAnimation() && size < Storage::kMaxAnimationInMemory)
|
||||
|| (isVoiceMessage() && size < Storage::kMaxVoiceInMemory)
|
||||
|| (type == WallPaperDocument);
|
||||
|| (type == WallPaperDocument)
|
||||
|| (isTheme() && size < Storage::kMaxFileInMemory);
|
||||
}
|
||||
|
||||
void DocumentData::unload() {
|
||||
|
||||
Reference in New Issue
Block a user