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 --- src/core/stdmsg/src/chat_manager.cpp | 1 + src/core/stdmsg/src/stdafx.h | 31 +++++++++++++++---------------- 2 files changed, 16 insertions(+), 16 deletions(-) (limited to 'src/core/stdmsg') diff --git a/src/core/stdmsg/src/chat_manager.cpp b/src/core/stdmsg/src/chat_manager.cpp index 4cdd7cbfbd..f7c693b01a 100644 --- a/src/core/stdmsg/src/chat_manager.cpp +++ b/src/core/stdmsg/src/chat_manager.cpp @@ -199,6 +199,7 @@ void Load_ChatModule() g_chatApi.OnFlashWindow = OnFlashWindow; g_chatApi.OnFlashHighlight = OnFlashHighlight; g_chatApi.ShowRoom = ShowRoom; + g_chatApi.DbEventIsShown = DbEventIsShown; Srmm_CreateHotkey(LPGEN("Messaging"), LPGEN("Send message")); diff --git a/src/core/stdmsg/src/stdafx.h b/src/core/stdmsg/src/stdafx.h index dc6fdc6c5d..40b2e4b02b 100644 --- a/src/core/stdmsg/src/stdafx.h +++ b/src/core/stdmsg/src/stdafx.h @@ -43,32 +43,31 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include #include -#include -#include +#include #include +#include #include #include -#include -#include -#include -#include -#include #include -#include +#include +#include +#include +#include #include #include -#include -#include -#include #include -#include -#include -#include +#include +#include #include -#include -#include +#include #include +#include +#include +#include #include +#include +#include +#include ///////////////////////////////////////////////////////////////////////////////////////// // tabs.cpp -- cgit v1.2.3