diff options
author | George Hazan <george.hazan@gmail.com> | 2023-12-25 17:07:11 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-12-25 17:07:11 +0300 |
commit | dcfea2fd7445ce4e28e9973403aeffb8e7675d6a (patch) | |
tree | cbf614bcc91371d06cb99f735bfe1660ccfd98b6 /src/core | |
parent | f882faaa10cb09acb9c7889d64fa9083e2eb1437 (diff) |
CallContactService - useful helper exported from mir_app
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/stduserinfo/src/userinfo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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);
|