mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-15 21:57:10 +02:00
Show emoji promo only on Premium Emoji toast.
This commit is contained in:
parent
68e0d155f9
commit
5c43a541d7
1 changed files with 2 additions and 1 deletions
|
@ -223,7 +223,8 @@ void StickerToast::showWithTitle(const QString &title) {
|
|||
const auto id = _for->sticker()->set.id;
|
||||
const auto &sets = _for->owner().stickers().sets();
|
||||
const auto i = sets.find(id);
|
||||
if (i != end(sets)
|
||||
if (isEmoji
|
||||
&& (i != end(sets))
|
||||
&& (i->second->flags & Data::StickersSetFlag::Installed)) {
|
||||
ShowPremiumPreviewBox(
|
||||
_controller,
|
||||
|
|
Loading…
Add table
Reference in a new issue