diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2012-05-20 07:24:29 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2012-05-20 07:24:29 +0300 |
commit | 093731d35e605ede9798ace4ac73c77a51012a6c (patch) | |
tree | 7c62c1e06a031f89d87d4f76931de5c77585a77e /icons.cpp | |
parent | 9026615fea720ca69d3a3480a69e32e5432db69b (diff) |
metacontacts fixes
Diffstat (limited to 'icons.cpp')
-rwxr-xr-x | icons.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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))
|