From ba8b5469506b3f0caeeead89028a5b61120206e3 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 8 Jan 2024 13:22:45 +0300 Subject: 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 --- src/core/stdaway/src/awaymsg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/stdaway') 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; -- cgit v1.2.3