summaryrefslogtreecommitdiff
path: root/plugins/WhenWasIt/src/services.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-01-08 13:22:45 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-01-08 13:22:52 +0300
commitba8b5469506b3f0caeeead89028a5b61120206e3 (patch)
tree7b42564409e573fb643fb6d570b0bbf5a146de47 /plugins/WhenWasIt/src/services.cpp
parentb06d84eef8004575a874486119cbefc382e94e74 (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/WhenWasIt/src/services.cpp')
-rw-r--r--plugins/WhenWasIt/src/services.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/WhenWasIt/src/services.cpp b/plugins/WhenWasIt/src/services.cpp
index 7ea3973d82..5c1c6bb3b3 100644
--- a/plugins/WhenWasIt/src/services.cpp
+++ b/plugins/WhenWasIt/src/services.cpp
@@ -123,7 +123,7 @@ void __cdecl RefreshUserDetailsWorkerThread(void*)
MCONTACT hContact = db_find_first();
while (hContact != NULL) {
- ProtoChainSend(hContact, PSS_GETINFO, 0, 0);
+ CallContactService(hContact, PS_GETINFO);
hContact = db_find_next(hContact);
if (hContact)
Sleep(delay); //sleep for a few seconds between requests