mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Fix slot machine stickers size.
This commit is contained in:
parent
18a6f7d700
commit
4c45ddfde1
1 changed files with 3 additions and 3 deletions
|
@ -97,9 +97,9 @@ void GiftBoxPack::applySet(const MTPDmessages_stickerSet &data) {
|
|||
}
|
||||
|
||||
bool GiftBoxPack::isGiftSticker(not_null<DocumentData*> document) const {
|
||||
return document->sticker()
|
||||
? (document->sticker()->set.id == _setId)
|
||||
: false;
|
||||
return _setId
|
||||
&& document->sticker()
|
||||
&& (document->sticker()->set.id == _setId);
|
||||
}
|
||||
|
||||
} // namespace Stickers
|
||||
|
|
Loading…
Add table
Reference in a new issue