mirror of
https://github.com/vale981/tdesktop
synced 2025-03-05 09:41:41 -05:00
Fix crash in setting group sticker set.
This commit is contained in:
parent
c2a1cc2ae8
commit
66c94515f3
1 changed files with 1 additions and 0 deletions
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue