summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-04-19 14:36:04 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-04-19 14:36:04 +0300
commit7a6bb0b844b0a5c15191977acc79092771bb52b1 (patch)
treebb1334c59899baea00b706724552cd63d080263c /include
parent99f8fd05b99fbe8df51ba05ee859a419962a535e (diff)
Chat_Mute - a function to set group chat mute mode programmatically
Diffstat (limited to 'include')
-rw-r--r--include/m_chat_int.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/m_chat_int.h b/include/m_chat_int.h
index 5a499afb18..434f93a5c3 100644
--- a/include/m_chat_int.h
+++ b/include/m_chat_int.h
@@ -389,8 +389,11 @@ EXTERN_C MIR_APP_DLL(UINT) Chat_CreateMenu(HWND hwnd, HMENU hMenu, POINT pt, SES
// calculates width or height of a string
EXTERN_C MIR_APP_DLL(int) Chat_GetTextPixelSize(const wchar_t *pszText, HFONT hFont, bool bWidth);
-// creates a default description of a groupchat event
+// creates a default description of a group chat event
// returns true if lin->ptszText is already utilized, you need to add it manually then otherwise
EXTERN_C MIR_APP_DLL(bool) Chat_GetDefaultEventDescr(const SESSION_INFO *si, const LOGINFO *lin, CMStringW &res);
+// sets mute mode for a group chat
+EXTERN_C MIR_APP_DLL(void) Chat_Mute(SESSION_INFO *si, int mode);
+
#endif // M_CHAT_INT_H__