summaryrefslogtreecommitdiff
path: root/plugins/Popup
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-08-16 18:19:00 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-08-16 18:19:00 +0300
commitcbae3129961119ea4415ec2643bb62f04be47dcf (patch)
treee96bdbbe0247f814898b13d494d8a1d5351ce4e0 /plugins/Popup
parentd11b65ef96075a0da05d88913c6bcea619a4c2f9 (diff)
fixes #2538 (NewStory: add stickers support to message log and history)
Diffstat (limited to 'plugins/Popup')
-rw-r--r--plugins/Popup/src/popup_wnd2.cpp5
1 files changed, 3 insertions, 2 deletions
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);
}
}