summaryrefslogtreecommitdiff
path: root/icons.cpp
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss@sss.chaoslab.ru>2012-07-29 01:01:18 +0300
committerGluzskiy Alexandr <sss@sss.chaoslab.ru>2012-07-29 01:01:18 +0300
commit8ef18318d8f81a533c0e3bc5c10c76fec0be3b5f (patch)
tree88eb30555006e99e5cc446eee4520f3f955eae99 /icons.cpp
parent191c2e330ab91f4b35860e08c5424667ed1893c5 (diff)
parent64c6452c697a05ab0b0d4bbbda167ddc35215397 (diff)
Merge branch 'new_gpg' into new_gpg_autoexchangenew_gpg_autoexchange
Conflicts: main.cpp messages.cpp
Diffstat (limited to 'icons.cpp')
-rwxr-xr-x[-rw-r--r--]icons.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/icons.cpp b/icons.cpp
index 882f58b..58a24c9 100644..100755
--- a/icons.cpp
+++ b/icons.cpp
@@ -1,4 +1,4 @@
-// Copyright © 2010 SecureIM developers (baloo and others), sss
+// Copyright © 2010-2012 SecureIM developers (baloo and others), sss
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
@@ -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))