summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2023-12-07 12:34:11 +0300
committerGeorge Hazan <george.hazan@gmail.com>2023-12-07 12:34:15 +0300
commit4e37f3cad6064396a701fe96bf4801d37d40b362 (patch)
tree120628241d4f69ad1db55b2d5b883d53670784e8 /protocols/JabberG/src
parentceeb2257878b17ebda20f8f3eea72ae2de598fb4 (diff)
fingerprint: more strict service definitions
Diffstat (limited to 'protocols/JabberG/src')
-rw-r--r--protocols/JabberG/src/jabber_menu.cpp2
-rw-r--r--protocols/JabberG/src/jabber_userinfo.cpp2
2 files changed, 2 insertions, 2 deletions
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());