From cbae3129961119ea4415ec2643bb62f04be47dcf Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 16 Aug 2020 18:19:00 +0300 Subject: fixes #2538 (NewStory: add stickers support to message log and history) --- plugins/Popup/src/popup_wnd2.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'plugins/Popup') diff --git a/plugins/Popup/src/popup_wnd2.cpp b/plugins/Popup/src/popup_wnd2.cpp index 3c0d1a96c3..cdc4a76c02 100644 --- a/plugins/Popup/src/popup_wnd2.cpp +++ b/plugins/Popup/src/popup_wnd2.cpp @@ -740,9 +740,10 @@ void PopupWnd2::buildMText() m_mtText = m_mtTitle = nullptr; if (m_lptzText && m_lptzTitle) { + auto *szProto = Proto_GetBaseAccountName(m_hContact); m_textType = TT_MTEXT; - m_mtText = MTextCreateW(htuText, m_lptzText); - m_mtTitle = MTextCreateW(htuTitle, m_lptzTitle); + m_mtText = MTextCreateW(htuText, szProto, m_lptzText); + m_mtTitle = MTextCreateW(htuTitle, szProto, m_lptzTitle); } } -- cgit v1.2.3