summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_iqid.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-03-24 18:51:51 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-03-24 18:51:51 +0000
commit2f1b8c756066316c59be907bcd94a73cae5e3a7b (patch)
tree1c43a7e356602938748aa9f09ebbc7a187ae280b /protocols/JabberG/src/jabber_iqid.cpp
parenta3e37eef935765e0a53b1e84d2e3b22f9e475637 (diff)
UI Utils classes & templates moved to the core, thus allowing any plugin to use them
git-svn-id: http://svn.miranda-ng.org/main/trunk@12492 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/src/jabber_iqid.cpp')
-rw-r--r--protocols/JabberG/src/jabber_iqid.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/protocols/JabberG/src/jabber_iqid.cpp b/protocols/JabberG/src/jabber_iqid.cpp
index 7269561533..cc0f8d4bd4 100644
--- a/protocols/JabberG/src/jabber_iqid.cpp
+++ b/protocols/JabberG/src/jabber_iqid.cpp
@@ -508,7 +508,7 @@ void CJabberProto::OnIqResultGetRoster(HXML iqNode, CJabberIqInfo *pInfo)
GroupchatJoinByHContact((MCONTACT)chatRooms[i], true);
UI_SAFE_NOTIFY_HWND(m_hwndJabberAddBookmark, WM_JABBER_CHECK_ONLINE);
- WindowNotify(WM_JABBER_CHECK_ONLINE);
+ WindowList_Broadcast(m_hWindowList, WM_JABBER_CHECK_ONLINE, 0, 0);
UI_SAFE_NOTIFY(m_pDlgServiceDiscovery, WM_JABBER_TRANSPORT_REFRESH);
@@ -1115,17 +1115,15 @@ void CJabberProto::OnIqResultGetVcard(HXML iqNode, CJabberIqInfo*)
else {
if ((hContact = HContactFromJID(jid)) != NULL)
ProtoBroadcastAck(hContact, ACKTYPE_GETINFO, ACKRESULT_SUCCESS, (HANDLE)1, 0);
- WindowNotify(WM_JABBER_REFRESH_VCARD);
+ WindowList_Broadcast(m_hWindowList, WM_JABBER_REFRESH_VCARD, 0, 0);
}
}
void CJabberProto::OnIqResultSetVcard(HXML iqNode, CJabberIqInfo*)
{
debugLogA("<iq/> iqIdSetVcard");
- if (!xmlGetAttrValue(iqNode, _T("type")))
- return;
-
- WindowNotify(WM_JABBER_REFRESH_VCARD);
+ if (xmlGetAttrValue(iqNode, _T("type")))
+ WindowList_Broadcast(m_hWindowList, WM_JABBER_REFRESH_VCARD, 0, 0);
}
void CJabberProto::OnIqResultSetSearch(HXML iqNode, CJabberIqInfo*)