summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2013-06-16 13:18:13 +0000
committerRobert Pösel <robyer@seznam.cz>2013-06-16 13:18:13 +0000
commit5622e7729da483327a3e863ec51831e4cdaddf10 (patch)
treebd299dcec1c061d1fe5d9efb69e20d840213b26e /protocols
parenta5c313571b5f8dcf3a7a1761a252ee925d8a7793 (diff)
Fixed notifying events.
git-svn-id: http://svn.miranda-ng.org/main/trunk@4981 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rw-r--r--protocols/JabberG/src/jabber_groupchat.cpp3
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) {