summaryrefslogtreecommitdiff
path: root/protocols/IcqOscarJ/fam_03buddy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/IcqOscarJ/fam_03buddy.cpp')
-rw-r--r--protocols/IcqOscarJ/fam_03buddy.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/protocols/IcqOscarJ/fam_03buddy.cpp b/protocols/IcqOscarJ/fam_03buddy.cpp
index 91f59147df..caa41d966c 100644
--- a/protocols/IcqOscarJ/fam_03buddy.cpp
+++ b/protocols/IcqOscarJ/fam_03buddy.cpp
@@ -195,10 +195,12 @@ void CIcqProto::handleUserOnline(BYTE *buf, WORD wLen, serverthread_info *info)
unpackWord(&buf, &wTLVCount);
wLen -= 2;
- // Determine contact
- HANDLE hContact = HContactFromUID(dwUIN, szUID, NULL);
+ // notify that the set status note & mood process is finished
+ if (m_hNotifyNameInfoEvent)
+ SetEvent(m_hNotifyNameInfoEvent);
// Ignore status notification if the user is not already on our list
+ HANDLE hContact = HContactFromUID(dwUIN, szUID, NULL);
if (hContact == INVALID_HANDLE_VALUE)
{
#ifdef _DEBUG
@@ -578,7 +580,6 @@ void CIcqProto::handleUserOnline(BYTE *buf, WORD wLen, serverthread_info *info)
}
}
-
void CIcqProto::handleUserOffline(BYTE *buf, WORD wLen)
{
DWORD dwUIN;