From 829c3778ac700f2d64e7032d0727f860196e4417 Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Mon, 21 May 2012 00:38:28 +0300 Subject: fixed another metacontacts problem --- srmm.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'srmm.cpp') diff --git a/srmm.cpp b/srmm.cpp index 763134a..6fc204a 100755 --- a/srmm.cpp +++ b/srmm.cpp @@ -36,7 +36,10 @@ int __cdecl onIconPressed(WPARAM wParam, LPARAM lParam) { HANDLE hContact = (HANDLE)wParam; HANDLE hMeta = NULL; if(metaIsProtoMetaContacts(hContact)) + { + hMeta = hContact; hContact = metaGetMostOnline(hContact); // возьмем тот, через который пойдет сообщение + } else if(metaIsSubcontact(hContact)) hMeta = metaGetContact(hContact); StatusIconClickData *sicd = (StatusIconClickData *)lParam; -- cgit v1.2.3