diff options
author | George Hazan <ghazan@miranda.im> | 2023-04-23 18:48:34 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2023-04-23 18:48:34 +0300 |
commit | dbca94ca6e16a5bc270332e09ea3703bb46ceeaf (patch) | |
tree | d9de6f4ef565dc23561cffe0617d55dfafd5069f /include | |
parent | 2fb2f4e0edf9c01ff5ec23429e79e2572e5429be (diff) |
DbEventIsShown is added to g_chatApi to allow the core to filter group chat events too
Diffstat (limited to 'include')
-rw-r--r-- | include/m_chat_int.h | 2 |
1 files changed, 2 insertions, 0 deletions
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*);
|