diff options
Diffstat (limited to 'plugins/NewStory/src/history_array.cpp')
-rw-r--r-- | plugins/NewStory/src/history_array.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/NewStory/src/history_array.cpp b/plugins/NewStory/src/history_array.cpp index be26830325..6d49365e01 100644 --- a/plugins/NewStory/src/history_array.cpp +++ b/plugins/NewStory/src/history_array.cpp @@ -400,7 +400,6 @@ void HistoryArray::addChatEvent(SESSION_INFO *si, const LOGINFO *lin) switch (lin->iType) { case GC_EVENT_MESSAGE: - case GC_EVENT_TOPIC: case GC_EVENT_INFORMATION: p.dbe.eventType = EVENTTYPE_MESSAGE; if (lin->bIsMe) @@ -415,6 +414,11 @@ void HistoryArray::addChatEvent(SESSION_INFO *si, const LOGINFO *lin) p.dbe.flags |= DBEF_SENT; __fallthrough; + case GC_EVENT_PART: + case GC_EVENT_QUIT: + p.dbe.eventType = EVENTTYPE_JABBER_PRESENCE; + break; + default: p.dbe.eventType = EVENTTYPE_OTHER; break; |