2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Show premium emoji toast / send to Saved Messages.

This commit is contained in:
John Preston
2022-08-02 20:59:11 +03:00
parent 59903b0b1c
commit f4b80d8714
16 changed files with 133 additions and 23 deletions

View File

@@ -746,6 +746,7 @@ void SendFilesBox::setupEmojiPanel() {
) | rpl::start_with_next([=](Selector::FileChosen data) {
Data::InsertCustomEmoji(_caption.data(), data.document);
}, lifetime());
_emojiPanel->selector()->showPromoForPremiumEmoji();
const auto filterCallback = [=](not_null<QEvent*> event) {
emojiFilterForGeometry(event);