From 733cad798b265770020890a40c5beaeb09d11ef4 Mon Sep 17 00:00:00 2001 From: John Preston Date: Fri, 26 Aug 2022 10:13:31 +0400 Subject: [PATCH] Load emoji for reactions panel. --- .../view/reactions/history_view_reactions_selector.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Telegram/SourceFiles/history/view/reactions/history_view_reactions_selector.cpp b/Telegram/SourceFiles/history/view/reactions/history_view_reactions_selector.cpp index 58c4c5cb7..a217e6ab1 100644 --- a/Telegram/SourceFiles/history/view/reactions/history_view_reactions_selector.cpp +++ b/Telegram/SourceFiles/history/view/reactions/history_view_reactions_selector.cpp @@ -20,6 +20,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL #include "window/window_session_controller.h" #include "settings/settings_premium.h" #include "mainwidget.h" +#include "apiwrap.h" #include "base/call_delayed.h" #include "styles/style_chat_helpers.h" #include "styles/style_chat.h" @@ -449,6 +450,10 @@ void Selector::finishExpand() { _footer->show(); } _scroll->show(); + + if (const auto controller = _parentController.get()) { + controller->session().api().updateCustomEmoji(); + } } void Selector::paintBubble(QPainter &p, int innerWidth) {