summaryrefslogtreecommitdiff
path: root/srmm.cpp
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss@sss.chaoslab.ru>2012-05-21 00:38:28 +0300
committerGluzskiy Alexandr <sss@sss.chaoslab.ru>2012-05-21 00:38:28 +0300
commit829c3778ac700f2d64e7032d0727f860196e4417 (patch)
tree6f3b295e9ba3a7ed8ad5c3771d832e4c949019f9 /srmm.cpp
parentbad201c5132117e8b227021b12ff9e5377a98496 (diff)
fixed another metacontacts problem
Diffstat (limited to 'srmm.cpp')
-rwxr-xr-xsrmm.cpp3
1 files changed, 3 insertions, 0 deletions
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;