From 4e37f3cad6064396a701fe96bf4801d37d40b362 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 7 Dec 2023 12:34:11 +0300 Subject: fingerprint: more strict service definitions --- protocols/JabberG/src/jabber_menu.cpp | 2 +- protocols/JabberG/src/jabber_userinfo.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/JabberG/src') diff --git a/protocols/JabberG/src/jabber_menu.cpp b/protocols/JabberG/src/jabber_menu.cpp index 5c601611b6..0f69d8f23d 100644 --- a/protocols/JabberG/src/jabber_menu.cpp +++ b/protocols/JabberG/src/jabber_menu.cpp @@ -346,7 +346,7 @@ int CJabberProto::OnPrebuildContactMenu(WPARAM hContact, LPARAM) HICON hIcon = (HICON)INVALID_HANDLE_VALUE; Menu_SetChecked(m_phMenuResourceItems[i], item->resourceMode == RSMODE_MANUAL && item->m_pManualResource == r); - if (ServiceExists(MS_FP_GETCLIENTICONT)) { + if (Finger_IsPresent()) { CMStringA szTmp; FormatMirVer(r, szTmp); hIcon = Finger_GetClientIcon(Utf2T(szTmp), 0); diff --git a/protocols/JabberG/src/jabber_userinfo.cpp b/protocols/JabberG/src/jabber_userinfo.cpp index 5a934f2c5b..d2f11f2fa3 100644 --- a/protocols/JabberG/src/jabber_userinfo.cpp +++ b/protocols/JabberG/src/jabber_userinfo.cpp @@ -245,7 +245,7 @@ class JabberUserInfoDlg : public JabberBaseUserInfoDlg if (CJabberClientPartialCaps *pCaps = r->m_pCaps) { HICON hIcon = nullptr; - if (ServiceExists(MS_FP_GETCLIENTICONT)) { + if (Finger_IsPresent()) { if (pCaps->GetSoft()) { wchar_t buf[256]; mir_snwprintf(buf, L"%s %s", pCaps->GetSoft(), pCaps->GetSoftVer()); -- cgit v1.2.3