diff options
Diffstat (limited to 'src')
-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 7e3793af1c..457cd949a5 100644 --- a/src/core/stduserinfo/src/userinfo.cpp +++ b/src/core/stduserinfo/src/userinfo.cpp @@ -555,8 +555,8 @@ public: m_infosUpdated = NULL;
}
- if (const char *szProto = GetProto())
- if (!CallProtoService(szProto, PSS_GETINFO, 0, 0)) {
+ if (m_hContact != NULL)
+ if (!ProtoChainSend(m_hContact, PSS_GETINFO, 0, 0)) {
btnUpdate.Disable();
ShowWindow(GetDlgItem(m_hwnd, IDC_UPDATING), SW_SHOW);
updateTimer.Start(100);
|