From 4d4cf472c8bde691cbec4a99c7cfb139b9759cb8 Mon Sep 17 00:00:00 2001 From: John Preston Date: Thu, 23 May 2024 13:06:38 +0400 Subject: [PATCH] Fix crash in group emoji set saving. --- Telegram/SourceFiles/chat_helpers/tabbed_selector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/chat_helpers/tabbed_selector.cpp b/Telegram/SourceFiles/chat_helpers/tabbed_selector.cpp index 7de254badb..b63ae69677 100644 --- a/Telegram/SourceFiles/chat_helpers/tabbed_selector.cpp +++ b/Telegram/SourceFiles/chat_helpers/tabbed_selector.cpp @@ -509,7 +509,7 @@ TabbedSelector::TabbedSelector( _st.categoriesBg); }, lifetime()); - if (hasEmojiTab()) { + if (hasEmojiTab() && _mode == Mode::Full) { session().data().stickers().emojiSetInstalled( ) | rpl::start_with_next([=](uint64 setId) { _tabsSlider->setActiveSection(indexByType(SelectorTab::Emoji));