mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +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 {
|
bool GiftBoxPack::isGiftSticker(not_null<DocumentData*> document) const {
|
||||||
return document->sticker()
|
return _setId
|
||||||
? (document->sticker()->set.id == _setId)
|
&& document->sticker()
|
||||||
: false;
|
&& (document->sticker()->set.id == _setId);
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace Stickers
|
} // namespace Stickers
|
||||||
|
|
Loading…
Add table
Reference in a new issue