From 4cdf29bbd778f0ffa1ab73b806c4e1dfbeb59bc9 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 22 Jun 2014 19:59:42 +0000 Subject: fix for setting sub's status & nick git-svn-id: http://svn.miranda-ng.org/main/trunk@9558 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/modules/metacontacts/meta_utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/metacontacts/meta_utils.cpp') 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) -- cgit v1.2.3