From f13d9cfc576f434c4c3b30ad26a8aad4f133c732 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 12 May 2024 19:48:38 +0300 Subject: DbEvent_GetTextW: fix to extract event's text correctly --- plugins/NewStory/src/history_array.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'plugins/NewStory/src') diff --git a/plugins/NewStory/src/history_array.cpp b/plugins/NewStory/src/history_array.cpp index b2268f81c2..580234ca0d 100644 --- a/plugins/NewStory/src/history_array.cpp +++ b/plugins/NewStory/src/history_array.cpp @@ -370,7 +370,8 @@ void ItemData::load(bool bLoadAlways) switch (dbe.eventType) { case EVENTTYPE_MESSAGE: pOwner->MarkRead(this); - __fallthrough; + wtext = DbEvent_GetTextW(&dbe); + break; case EVENTTYPE_STATUSCHANGE: wtext = mir_utf8decodeW((char *)dbe.pBlob); -- cgit v1.2.3