diff options
author | George Hazan <george.hazan@gmail.com> | 2023-12-20 16:51:59 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-12-20 16:51:59 +0300 |
commit | 72fc3f5206fc56f1a573d6a284be413411679c57 (patch) | |
tree | f24cba22844714c423931157d8045f839f736c00 /plugins | |
parent | d80970d9b26b5e9b7868ec61349490da5e24dc64 (diff) |
Telegram: stickers are back
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/NewStory/src/history_array.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/NewStory/src/history_array.cpp b/plugins/NewStory/src/history_array.cpp index b17a4a9093..cc7c5b0900 100644 --- a/plugins/NewStory/src/history_array.cpp +++ b/plugins/NewStory/src/history_array.cpp @@ -479,12 +479,14 @@ void ItemData::markRead() void ItemData::setText() { data = MTextCreateEx(htuLog, formatRtf().GetBuffer(), MTEXT_FLG_RTF); + MTextSetProto(data, hContact); savedHeight = -1; } void ItemData::setTextAndHwnd(HWND hwnd) { data = MTextCreateEx2(hwnd, htuLog, formatRtf().GetBuffer(), MTEXT_FLG_RTF); + MTextSetProto(data, hContact); savedHeight = -1; } |