From dcfea2fd7445ce4e28e9973403aeffb8e7675d6a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 25 Dec 2023 17:07:11 +0300 Subject: CallContactService - useful helper exported from mir_app --- src/core/stduserinfo/src/userinfo.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core/stduserinfo') diff --git a/src/core/stduserinfo/src/userinfo.cpp b/src/core/stduserinfo/src/userinfo.cpp index 457cd949a5..7782eab3fb 100644 --- a/src/core/stduserinfo/src/userinfo.cpp +++ b/src/core/stduserinfo/src/userinfo.cpp @@ -555,8 +555,8 @@ public: m_infosUpdated = NULL; } - if (m_hContact != NULL) - if (!ProtoChainSend(m_hContact, PSS_GETINFO, 0, 0)) { + if (const char *szProto = GetProto()) + if (!CallContactService(m_hContact, szProto, PSS_GETINFO)) { btnUpdate.Disable(); ShowWindow(GetDlgItem(m_hwnd, IDC_UPDATING), SW_SHOW); updateTimer.Start(100); -- cgit v1.2.3