Fix crash in setting group sticker set.

This commit is contained in:
John Preston 2017-09-03 22:48:52 +03:00
parent c2a1cc2ae8
commit 66c94515f3

View file

@ -502,6 +502,7 @@ bool StickersBox::installFail(uint64 setId, const RPCError &error) {
}
void StickersBox::preloadArchivedSets() {
if (!_tabs) return;
if (!_archivedRequestId) {
_archivedRequestId = MTP::send(MTPmessages_GetArchivedStickers(MTP_flags(0), MTP_long(0), MTP_int(kArchivedLimitFirstRequest)), rpcDone(&StickersBox::getArchivedDone, 0ULL));
}