Load installed sticker sets before changing sticker set.
GitOrigin-RevId: f4794d3c65327aa173030f6e53aaccc23875aff0
This commit is contained in:
parent
8a8ea50a81
commit
6422e77e15
@ -2179,6 +2179,10 @@ void StickersManager::change_sticker_set(int64 set_id, bool is_installed, bool i
|
||||
load_sticker_sets({set_id}, std::move(promise));
|
||||
return;
|
||||
}
|
||||
if (!are_installed_sticker_sets_loaded_[sticker_set->is_masks]) {
|
||||
load_installed_sticker_sets(sticker_set->is_masks, std::move(promise));
|
||||
return;
|
||||
}
|
||||
|
||||
if (is_archived) {
|
||||
is_installed = true;
|
||||
|
@ -2967,7 +2967,7 @@ class ChangeStickerSetRequest : public RequestOnceActor {
|
||||
, set_id_(set_id)
|
||||
, is_installed_(is_installed)
|
||||
, is_archived_(is_archived) {
|
||||
set_tries(3);
|
||||
set_tries(4);
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user