mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Optimize emoji / stickers update requests.
This commit is contained in:
@@ -2336,7 +2336,11 @@ void Updates::feedUpdate(const MTPUpdate &update) {
|
||||
stickers.setsOrderRef() = std::move(result);
|
||||
session().local().writeInstalledStickers();
|
||||
}
|
||||
stickers.notifyUpdated();
|
||||
stickers.notifyUpdated(isEmoji
|
||||
? Data::StickersType::Emoji
|
||||
: isMasks
|
||||
? Data::StickersType::Masks
|
||||
: Data::StickersType::Stickers);
|
||||
}
|
||||
} break;
|
||||
|
||||
|
Reference in New Issue
Block a user