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/SimpleStatusMsg/src | |
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/SimpleStatusMsg/src')
-rw-r--r-- | plugins/SimpleStatusMsg/src/awaymsg.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/SimpleStatusMsg/src/awaymsg.cpp b/plugins/SimpleStatusMsg/src/awaymsg.cpp index 08c2670ccd..612e3d6e19 100644 --- a/plugins/SimpleStatusMsg/src/awaymsg.cpp +++ b/plugins/SimpleStatusMsg/src/awaymsg.cpp @@ -50,7 +50,7 @@ public: bool OnInitDialog() override
{
- m_hSeq = (HANDLE)ProtoChainSend(m_hContact, PSS_GETAWAYMSG, 0, 0);
+ m_hSeq = (HANDLE)CallContactService(m_hContact, PS_GETAWAYMSG, 0, 0);
m_hAwayMsgEvent = m_hSeq ? HookEventMessage(ME_PROTO_ACK, m_hwnd, HM_AWAYMSG) : nullptr;
WindowList_Add(hWindowList, m_hwnd, m_hContact);
@@ -150,7 +150,7 @@ public: bool OnInitDialog() override
{
- m_hSeq = (HANDLE)ProtoChainSend(m_hContact, PSS_GETAWAYMSG, 0, 0);
+ m_hSeq = (HANDLE)CallContactService(m_hContact, PS_GETAWAYMSG, 0, 0);
m_hAwayMsgEvent = m_hSeq ? HookEventMessage(ME_PROTO_ACK, m_hwnd, HM_AWAYMSG) : nullptr;
WindowList_Add(hWindowList2, m_hwnd, m_hContact);
|