From 80c568f8938f2fef76bf7a54179278e17d327d90 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 29 Jun 2014 20:45:42 +0000 Subject: sub status calculation untied from SRMM git-svn-id: http://svn.miranda-ng.org/main/trunk@9622 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/modules/metacontacts/meta_utils.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/modules/metacontacts/meta_utils.cpp b/src/modules/metacontacts/meta_utils.cpp index 968e641784..48f3ad0105 100644 --- a/src/modules/metacontacts/meta_utils.cpp +++ b/src/modules/metacontacts/meta_utils.cpp @@ -530,7 +530,6 @@ void Meta_GetSubNick(MCONTACT hMeta, int i, CMString &tszDest) char idStr[50]; mir_snprintf(idStr, SIZEOF(idStr), "Login%d", i); - TCHAR buf[512]; DBVARIANT dbv; db_get(hMeta, META_PROTO, idStr, &dbv); switch (dbv.type) { @@ -558,7 +557,7 @@ void Meta_FixStatus(DBCachedContact *ccMeta) { WORD status = ID_STATUS_OFFLINE; - MCONTACT most_online = db_mc_getSrmmSub(ccMeta->contactID); + MCONTACT most_online = db_mc_getMostOnline(ccMeta->contactID); if (most_online) { char *szProto = GetContactProto(most_online); if (szProto) -- cgit v1.2.3