Fix getPremiumStickers.

This commit is contained in:
levlam 2023-02-08 18:36:54 +03:00
parent 7eee3f469a
commit 58c4a12ca6

View File

@ -5086,7 +5086,7 @@ void StickersManager::do_get_premium_stickers(int32 limit, Promise<td_api::objec
} }
} }
auto it = found_stickers_[type].find(remove_emoji_modifiers("📂⭐️")); auto it = found_stickers_[type].find(remove_emoji_modifiers("📂⭐️", false));
CHECK(it != found_stickers_[type].end()); CHECK(it != found_stickers_[type].end());
for (auto sticker_id : it->second.sticker_ids_) { for (auto sticker_id : it->second.sticker_ids_) {
if (td::contains(sticker_ids, sticker_id)) { if (td::contains(sticker_ids, sticker_id)) {