mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-30 14:08:41 +00:00
Fix slot machine stickers size.
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user