summaryrefslogtreecommitdiff
path: root/plugins/NewStory/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/NewStory/src')
-rw-r--r--plugins/NewStory/src/history_array.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/NewStory/src/history_array.cpp b/plugins/NewStory/src/history_array.cpp
index 6ce9ed2116..87571efe9c 100644
--- a/plugins/NewStory/src/history_array.cpp
+++ b/plugins/NewStory/src/history_array.cpp
@@ -218,11 +218,8 @@ void HistoryArray::addChatEvent(SESSION_INFO *si, LOGINFO *lin)
CMStringW wszText;
bool bTextUsed = Chat_GetDefaultEventDescr(si, lin, wszText);
- if (!bTextUsed && lin->ptszText) {
- if (!wszText.IsEmpty())
- wszText.Append(L": ");
+ if (!bTextUsed && lin->ptszText)
wszText.Append(g_chatApi.RemoveFormatting(lin->ptszText));
- }
auto &p = allocateItem();
p.hContact = si->hContact;