Comment wrong CHECKs.
GitOrigin-RevId: 2111ac12ea1d7ebe07348457c7a1c962306474ae
This commit is contained in:
parent
afb034e512
commit
06039ab496
@ -2905,11 +2905,13 @@ void StickersManager::on_load_sticker_set_from_database(int64 sticker_set_id, bo
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// it is possible that a server reload_sticker_set request has failed and cleared requests list with an error
|
||||||
if (with_stickers) {
|
if (with_stickers) {
|
||||||
CHECK(!sticker_set->load_requests.empty());
|
// CHECK(!sticker_set->load_requests.empty());
|
||||||
} else {
|
} else {
|
||||||
CHECK(!sticker_set->load_without_stickers_requests.empty());
|
// CHECK(!sticker_set->load_without_stickers_requests.empty());
|
||||||
}
|
}
|
||||||
|
|
||||||
if (value.empty()) {
|
if (value.empty()) {
|
||||||
return do_reload_sticker_set(sticker_set_id, get_input_sticker_set(sticker_set), Auto());
|
return do_reload_sticker_set(sticker_set_id, get_input_sticker_set(sticker_set), Auto());
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user