From 156262f08922cf65d9aff58257d623f7eab70f2f Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 3 Dec 2023 16:32:28 +0300 Subject: SRMM: sending quoted event as PSS_MESSAGE parameter --- include/m_protosvc.h | 4 ++-- include/m_srmm_int.h | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'include') diff --git a/include/m_protosvc.h b/include/m_protosvc.h index 67b3952cd3..b6fdc4f315 100644 --- a/include/m_protosvc.h +++ b/include/m_protosvc.h @@ -590,8 +590,8 @@ struct PROTOFILERESUME /////////////////////////////////////////////////////////////////////////////// // Send an instant message -// wParam = flags -// lParam = (LPARAM)(const char*)szMessage +// wParam = (MEVENT)id of reply to message +// lParam = (const char*)szMessage // returns a hProcess corresponding to the one in the ack event. // Will send an ack when the message actually gets sent // type = ACKTYPE_MESSAGE, result = success/failure, (char*)lParam = error message or NULL. diff --git a/include/m_srmm_int.h b/include/m_srmm_int.h index 58ecb1ed7d..78f0da728c 100644 --- a/include/m_srmm_int.h +++ b/include/m_srmm_int.h @@ -311,7 +311,6 @@ protected: CCtrlRichEdit m_message; SESSION_INFO *m_si; COLORREF m_clrInputBG, m_clrInputFG; - MEVENT m_hQuoteEvent = 0; // user typing support; uint32_t m_nLastTyping = 0; @@ -342,7 +341,7 @@ protected: public: MCONTACT m_hContact; - MEVENT m_hDbEventFirst; + MEVENT m_hDbEventFirst, m_hQuoteEvent = 0; int m_iLogFilterFlags; bool m_bFilterEnabled, m_bNicklistEnabled, m_bReadOnly = false; bool m_bFGSet, m_bBGSet; -- cgit v1.2.3