summaryrefslogtreecommitdiff
path: root/plugins/NewStory/src/history_array.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/NewStory/src/history_array.cpp')
-rw-r--r--plugins/NewStory/src/history_array.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/NewStory/src/history_array.cpp b/plugins/NewStory/src/history_array.cpp
index 6d49365e01..2b2babe744 100644
--- a/plugins/NewStory/src/history_array.cpp
+++ b/plugins/NewStory/src/history_array.cpp
@@ -382,6 +382,11 @@ void HistoryArray::addChatEvent(SESSION_INFO *si, const LOGINFO *lin)
if (si == nullptr)
return;
+ if (lin->hEvent) {
+ addEvent(si->hContact, lin->hEvent, 1);
+ return;
+ }
+
CMStringW wszText;
bool bTextUsed = Chat_GetDefaultEventDescr(si, lin, wszText);
if (!bTextUsed && lin->ptszText) {