From 093731d35e605ede9798ace4ac73c77a51012a6c Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Sun, 20 May 2012 07:24:29 +0300 Subject: metacontacts fixes --- icons.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'icons.cpp') diff --git a/icons.cpp b/icons.cpp index 58e93de..58a24c9 100755 --- a/icons.cpp +++ b/icons.cpp @@ -104,9 +104,9 @@ void setClistIcon(HANDLE hContact) } } -void setSrmmIcon(HANDLE hContact) +void setSrmmIcon(HANDLE h) { - hContact = metaGetMostOnline(hContact); + HANDLE hContact = metaIsProtoMetaContacts(h)?metaGetMostOnline(h):h; bool enabled = isContactSecured(hContact); HANDLE hMC = hContact; if(metaIsSubcontact(hContact)) -- cgit v1.2.3