diff options
Diffstat (limited to 'protocols/JabberG')
-rw-r--r-- | protocols/JabberG/src/jabber_groupchat.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/JabberG/src/jabber_groupchat.cpp b/protocols/JabberG/src/jabber_groupchat.cpp index dc7f1e3b8e..2255c2bcc0 100644 --- a/protocols/JabberG/src/jabber_groupchat.cpp +++ b/protocols/JabberG/src/jabber_groupchat.cpp @@ -1251,7 +1251,6 @@ void CJabberProto::GroupchatProcessMessage(HXML node) gce.ptszText = EscapeChatTags((TCHAR*)msgText);
gce.bIsMe = nick == NULL ? FALSE : (lstrcmp(resource, item->nick) == 0);
gce.dwFlags = GC_TCHAR;
- CallServiceSync(MS_GC_EVENT, NULL, (LPARAM)&gce);
if (!isHistory)
gce.dwFlags |= GCEF_ADDTOLOG;
@@ -1259,6 +1258,8 @@ void CJabberProto::GroupchatProcessMessage(HXML node) if (m_options.GcLogChatHistory && isHistory)
gce.dwFlags |= GCEF_NOTNOTIFY;
+ CallServiceSync(MS_GC_EVENT, NULL, (LPARAM)&gce);
+
item->bChatActive = 2;
if (gcd.iType == GC_EVENT_TOPIC) {
|