mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 22:55:11 +00:00
Added support updateNewStickerSet and updateStickerSets for masks.
This commit is contained in:
@@ -1371,10 +1371,8 @@ void Stickers::newSetReceived(const MTPmessages_StickerSet &data) {
|
||||
LOG(("API Error: "
|
||||
"updateNewStickerSet with archived flag."));
|
||||
return;
|
||||
} else if (s.is_masks()) {
|
||||
return;
|
||||
}
|
||||
auto &order = setsOrderRef();
|
||||
auto &order = s.is_masks() ? maskSetsOrderRef() : setsOrderRef();
|
||||
int32 insertAtIndex = 0, currentIndex = order.indexOf(s.vid().v);
|
||||
if (currentIndex != insertAtIndex) {
|
||||
if (currentIndex > 0) {
|
||||
|
Reference in New Issue
Block a user