diff options
Diffstat (limited to 'plugins/QuickContacts/src')
-rw-r--r-- | plugins/QuickContacts/src/dialog.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/QuickContacts/src/dialog.cpp b/plugins/QuickContacts/src/dialog.cpp index 36e198c813..9e8bdf112d 100644 --- a/plugins/QuickContacts/src/dialog.cpp +++ b/plugins/QuickContacts/src/dialog.cpp @@ -110,7 +110,7 @@ void SortArray(void) int GetStatus(MCONTACT hContact, char *proto = nullptr) { if (proto == nullptr) - proto = GetContactProto(hContact); + proto = Proto_GetBaseAccountName(hContact); if (proto == nullptr) return ID_STATUS_OFFLINE; @@ -140,7 +140,7 @@ void LoadContacts(HWND hwndDlg, BOOL show_all) FreeContacts(); for (auto &hContact : Contacts()) { - char *pszProto = GetContactProto(hContact); + char *pszProto = Proto_GetBaseAccountName(hContact); if (pszProto == nullptr) continue; @@ -236,7 +236,7 @@ void EnableButtons(HWND hwndDlg, MCONTACT hContact) // Get caps INT_PTR caps = 0; - char *pszProto = GetContactProto(hContact); + char *pszProto = Proto_GetBaseAccountName(hContact); if (pszProto != nullptr) caps = CallProtoService(pszProto, PS_GETCAPS, PFLAGNUM_1, 0); |