diff options
Diffstat (limited to 'plugins/QuickContacts')
-rw-r--r-- | plugins/QuickContacts/src/quickcontacts.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/plugins/QuickContacts/src/quickcontacts.cpp b/plugins/QuickContacts/src/quickcontacts.cpp index 1b9f82ad51..6cd7065ba3 100644 --- a/plugins/QuickContacts/src/quickcontacts.cpp +++ b/plugins/QuickContacts/src/quickcontacts.cpp @@ -455,12 +455,9 @@ void EnableButtons(HWND hwndDlg, MCONTACT hContact) else
{
// Is a meta?
- if (ServiceExists(MS_MC_GETMOSTONLINECONTACT))
- {
- MCONTACT hSub = (MCONTACT)CallService(MS_MC_GETMOSTONLINECONTACT, hContact, 0);
- if (hSub != NULL)
- hContact = hSub;
- }
+ MCONTACT hSub = db_mc_getMostOnline(hContact);
+ if (hSub != NULL)
+ hContact = hSub;
// Get caps
INT_PTR caps = 0;
|