diff options
author | George Hazan <george.hazan@gmail.com> | 2014-06-29 20:45:42 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-06-29 20:45:42 +0000 |
commit | 80c568f8938f2fef76bf7a54179278e17d327d90 (patch) | |
tree | a6a6ac3fa0babe7504e9342e88e214c0a9ef2e02 /src/modules/metacontacts/meta_utils.cpp | |
parent | 2a8072247e1df7651416e06a6d0cf8754a88aa95 (diff) |
sub status calculation untied from SRMM
git-svn-id: http://svn.miranda-ng.org/main/trunk@9622 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/metacontacts/meta_utils.cpp')
-rw-r--r-- | src/modules/metacontacts/meta_utils.cpp | 3 |
1 files changed, 1 insertions, 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)
|