summaryrefslogtreecommitdiff
path: root/src/core/stdmsg
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2023-04-23 18:48:34 +0300
committerGeorge Hazan <ghazan@miranda.im>2023-04-23 18:48:34 +0300
commitdbca94ca6e16a5bc270332e09ea3703bb46ceeaf (patch)
treed9de6f4ef565dc23561cffe0617d55dfafd5069f /src/core/stdmsg
parent2fb2f4e0edf9c01ff5ec23429e79e2572e5429be (diff)
DbEventIsShown is added to g_chatApi to allow the core to filter group chat events too
Diffstat (limited to 'src/core/stdmsg')
-rw-r--r--src/core/stdmsg/src/chat_manager.cpp1
-rw-r--r--src/core/stdmsg/src/stdafx.h31
2 files changed, 16 insertions, 16 deletions
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 <newpluginapi.h>
#include <m_system.h>
-#include <m_database.h>
-#include <m_langpack.h>
+#include <m_avatars.h>
#include <m_button.h>
+#include <m_chat_int.h>
#include <m_clistint.h>
#include <m_clc.h>
-#include <m_gui.h>
-#include <m_options.h>
-#include <m_protosvc.h>
-#include <m_utils.h>
-#include <m_skin.h>
#include <m_contacts.h>
-#include <m_userinfo.h>
+#include <m_database.h>
+#include <m_file.h>
+#include <m_fontservice.h>
+#include <m_gui.h>
#include <m_history.h>
#include <m_hotkeys.h>
-#include <m_chat_int.h>
-#include <m_message.h>
-#include <m_file.h>
#include <m_icolib.h>
-#include <m_fontservice.h>
-#include <m_timezones.h>
-#include <m_avatars.h>
+#include <m_langpack.h>
+#include <m_message.h>
#include <m_metacontacts.h>
-#include <m_ieview.h>
-#include <m_smileyadd.h>
+#include <m_options.h>
#include <m_popup.h>
+#include <m_protosvc.h>
+#include <m_skin.h>
+#include <m_smileyadd.h>
#include <m_srmm_int.h>
+#include <m_timezones.h>
+#include <m_utils.h>
+#include <m_userinfo.h>
/////////////////////////////////////////////////////////////////////////////////////////
// tabs.cpp