summaryrefslogtreecommitdiff
path: root/src/core/stdaway
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 /src/core/stdaway
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 'src/core/stdaway')
-rw-r--r--src/core/stdaway/src/awaymsg.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/stdaway/src/awaymsg.cpp b/src/core/stdaway/src/awaymsg.cpp
index d65ee88b31..d7eb3ae8de 100644
--- a/src/core/stdaway/src/awaymsg.cpp
+++ b/src/core/stdaway/src/awaymsg.cpp
@@ -75,7 +75,7 @@ public:
bool OnInitDialog() override
{
- m_hSeq = (HANDLE)ProtoChainSend(m_hContact, PSS_GETAWAYMSG, 0, 0);
+ m_hSeq = (HANDLE)CallContactService(m_hContact, PS_GETAWAYMSG);
if (m_hSeq == nullptr) {
ACKDATA ack = {};
ack.hContact = m_hContact;