summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2023-03-22 17:46:49 +0300
committerGeorge Hazan <ghazan@miranda.im>2023-03-22 17:46:49 +0300
commited54464972bcea62c617e1ade88722454b037ee0 (patch)
treedd20ac95a60aecd523676eef852f5fcda3f80b3b /include
parenta7ef6936c39f27ae844712c549ad5d5bc5a19015 (diff)
fixes #3448 (Telegram: настройка глушения чатов синхронизируется лишь в одну сторону (от сервера к нам)
Diffstat (limited to 'include')
-rw-r--r--include/m_chat.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/m_chat.h b/include/m_chat.h
index 1c628bf8d6..96ddddf297 100644
--- a/include/m_chat.h
+++ b/include/m_chat.h
@@ -559,9 +559,19 @@ typedef struct {
MIR_APP_DLL(void) Chat_AddMenuItems(HMENU hMenu, int nItems, const gc_item *Item, HPLUGIN pPlugin);
//////////////////////////////////////////////////////////////////////////
+// Mute chat event
+// called when a user manually changes mute mode for a group chat
+// wParam = (MCONTACT)hContact
+// lParam = new mute mode (one of CHATMUTE_* constants)
+
+#define ME_GC_MUTE "GChat/Mute"
+
+//////////////////////////////////////////////////////////////////////////
// Get Chat ToolTip Text for buddy
// wParam = (WPARAM)(wchar_t*) roomID parentdat->ptszID
// lParam = (WPARAM)(wchar_t*) userID ui1->pszUID
// result (int)(wchar_t*)mir_tstrdup("tooltip text")
// returns pointer to text of tooltip and starts owns it
+
#define MS_GC_PROTO_GETTOOLTIPTEXT "/GetChatToolTipText"
+