Comment wrong CHECKs.

GitOrigin-RevId: 2111ac12ea1d7ebe07348457c7a1c962306474ae
This commit is contained in:
levlam 2019-09-13 21:35:37 +03:00
parent afb034e512
commit 06039ab496

View File

@ -2905,11 +2905,13 @@ void StickersManager::on_load_sticker_set_from_database(int64 sticker_set_id, bo
return;
}
// it is possible that a server reload_sticker_set request has failed and cleared requests list with an error
if (with_stickers) {
CHECK(!sticker_set->load_requests.empty());
// CHECK(!sticker_set->load_requests.empty());
} else {
CHECK(!sticker_set->load_without_stickers_requests.empty());
// CHECK(!sticker_set->load_without_stickers_requests.empty());
}
if (value.empty()) {
return do_reload_sticker_set(sticker_set_id, get_input_sticker_set(sticker_set), Auto());
}