summaryrefslogtreecommitdiff
path: root/src/modules/metacontacts/meta_utils.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-06-22 19:59:42 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-06-22 19:59:42 +0000
commit4cdf29bbd778f0ffa1ab73b806c4e1dfbeb59bc9 (patch)
treea745280c16aafa6e45190479206781f05ffbac9e /src/modules/metacontacts/meta_utils.cpp
parentd04315eb83646e0e666cabc5ea76fd5cda14bdbf (diff)
fix for setting sub's status & nick
git-svn-id: http://svn.miranda-ng.org/main/trunk@9558 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/metacontacts/meta_utils.cpp')
-rw-r--r--src/modules/metacontacts/meta_utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/metacontacts/meta_utils.cpp b/src/modules/metacontacts/meta_utils.cpp
index b9119a4d4e..b917fce527 100644
--- a/src/modules/metacontacts/meta_utils.cpp
+++ b/src/modules/metacontacts/meta_utils.cpp
@@ -513,7 +513,7 @@ void Meta_FixStatus(DBCachedContact *ccMeta)
{
WORD status = ID_STATUS_OFFLINE;
- MCONTACT most_online = Meta_GetMostOnlineSupporting(ccMeta, PFLAGNUM_1, 0);
+ MCONTACT most_online = db_mc_getSrmmSub(ccMeta->contactID);
if (most_online) {
char *szProto = GetContactProto(most_online);
if (szProto)