Do not prefer animated recent stickers over non-animated.
GitOrigin-RevId: 112145286bd54de5706628bd8ad8d176e5895cf0
This commit is contained in:
parent
5104759c6a
commit
64a77fc9fb
@ -2182,8 +2182,8 @@ vector<FileId> StickersManager::get_stickers(string emoji, int32 limit, bool for
|
||||
const Sticker *rhs_s = get_sticker(rhs);
|
||||
return lhs_s->is_animated && !rhs_s->is_animated;
|
||||
};
|
||||
std::stable_sort(prepend_sticker_ids.begin(), prepend_sticker_ids.begin() + recent_sticker_ids_[0].size(),
|
||||
prefer_animated);
|
||||
// std::stable_sort(prepend_sticker_ids.begin(), prepend_sticker_ids.begin() + recent_sticker_ids_[0].size(),
|
||||
// prefer_animated);
|
||||
std::stable_sort(prepend_sticker_ids.begin() + recent_sticker_ids_[0].size(), prepend_sticker_ids.end(),
|
||||
prefer_animated);
|
||||
|
||||
|
Reference in New Issue
Block a user