diff options
author | George Hazan <ghazan@miranda.im> | 2021-12-09 21:28:32 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2021-12-09 21:28:32 +0300 |
commit | c867cb93b599b0b29474e5e2d6a0c19ca2108153 (patch) | |
tree | 225c782cc38d5ce2de6cf608c8c0089528b72de1 /plugins/TabSRMM/src/msglog.cpp | |
parent | b40119891c2f73c4726ab64ac2a2f327cf781ee2 (diff) |
fixes #2984 (tabSRMM: status change events ignore font & color settings)
Diffstat (limited to 'plugins/TabSRMM/src/msglog.cpp')
-rw-r--r-- | plugins/TabSRMM/src/msglog.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/TabSRMM/src/msglog.cpp b/plugins/TabSRMM/src/msglog.cpp index db83a7d661..77393e5cbb 100644 --- a/plugins/TabSRMM/src/msglog.cpp +++ b/plugins/TabSRMM/src/msglog.cpp @@ -819,9 +819,13 @@ static char* Template_CreateRTFFromDbEvent(CMsgDialog *dat, MCONTACT hContact, M AppendUnicodeToBuffer(str, LPCTSTR(dbei.szModule), MAKELONG(isSent, dat->m_bIsHistory));
break;
case 'M': // message
+ if (bIsStatusChangeEvent)
+ dbei.eventType = EVENTTYPE_STATUSCHANGE;
+
switch (dbei.eventType) {
case EVENTTYPE_MESSAGE:
case EVENTTYPE_ERRMSG:
+ case EVENTTYPE_STATUSCHANGE:
if (bIsStatusChangeEvent || dbei.eventType == EVENTTYPE_ERRMSG) {
if (dbei.eventType == EVENTTYPE_ERRMSG && dbei.cbBlob == 0)
break;
|