diff options
author | George Hazan <george.hazan@gmail.com> | 2024-01-08 13:22:45 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-01-08 13:22:52 +0300 |
commit | ba8b5469506b3f0caeeead89028a5b61120206e3 (patch) | |
tree | 7b42564409e573fb643fb6d570b0bbf5a146de47 /plugins/UserInfoEx/src/svc_refreshci.cpp | |
parent | b06d84eef8004575a874486119cbefc382e94e74 (diff) |
no need to call PSS_GETINFO, PSS_GETAWAYMSG, PSS_FILEALLOW, PSS_FILEDENY & PSS_FILECANCEL via Proto_ChainSend with all those filters etc, the simple call of CallContactService is enough
Diffstat (limited to 'plugins/UserInfoEx/src/svc_refreshci.cpp')
-rw-r--r-- | plugins/UserInfoEx/src/svc_refreshci.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/UserInfoEx/src/svc_refreshci.cpp b/plugins/UserInfoEx/src/svc_refreshci.cpp index 77a2076b48..d77d5d6a18 100644 --- a/plugins/UserInfoEx/src/svc_refreshci.cpp +++ b/plugins/UserInfoEx/src/svc_refreshci.cpp @@ -594,7 +594,7 @@ class CContactUpdater : public CContactQueue _pProgress->SetTextParam(TranslateT("[b]%s (%S)...[/b]\n%d Contacts remaining"), Clist_GetContactDisplayName(_hContact), pszProto, Size());
if (IsProtoOnline(pszProto))
- for (int i = 0; i < 3 && ProtoChainSend(hContact, PSS_GETINFO, 0, 0); i++)
+ for (int i = 0; i < 3 && CallContactService(hContact, PS_GETINFO, 0, 0); i++)
Sleep(3000);
}
}
|