diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/metacontacts/meta_services.cpp | 2 | ||||
-rw-r--r-- | src/modules/metacontacts/meta_utils.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/metacontacts/meta_services.cpp b/src/modules/metacontacts/meta_services.cpp index e1242f8b87..6f7befc018 100644 --- a/src/modules/metacontacts/meta_services.cpp +++ b/src/modules/metacontacts/meta_services.cpp @@ -814,7 +814,7 @@ int Meta_CallMostOnline(WPARAM hContact, LPARAM lParam) if (cc == NULL)
return 0;
- Meta_CopyContactNick(cc, Meta_GetMostOnline(cc));
+ Meta_CopyContactNick(cc, db_mc_getSrmmSub(cc->contactID));
Meta_FixStatus(cc);
return 0;
}
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)
|