From dbca94ca6e16a5bc270332e09ea3703bb46ceeaf Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 23 Apr 2023 18:48:34 +0300 Subject: DbEventIsShown is added to g_chatApi to allow the core to filter group chat events too --- include/m_chat_int.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/m_chat_int.h b/include/m_chat_int.h index 95a8c10206..3698ef4203 100644 --- a/include/m_chat_int.h +++ b/include/m_chat_int.h @@ -319,6 +319,8 @@ struct CHAT_MANAGER MIR_APP_DLL(HICON) getIcon(int iEventType) const; // user-defined custom callbacks + bool (*DbEventIsShown)(const DB::EventInfo &dbei); + void (*OnCreateModule)(MODULEINFO*); void (*OnDestroyModule)(MODULEINFO*); -- cgit v1.2.3