summaryrefslogtreecommitdiff
path: root/src/mir_app/src/db_intf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mir_app/src/db_intf.cpp')
-rw-r--r--src/mir_app/src/db_intf.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mir_app/src/db_intf.cpp b/src/mir_app/src/db_intf.cpp
index eb522790bf..8dd71bc23f 100644
--- a/src/mir_app/src/db_intf.cpp
+++ b/src/mir_app/src/db_intf.cpp
@@ -76,6 +76,8 @@ MIR_APP_EXPORT HANDLE
g_hevEventDelivered, // ME_DB_EVENT_DELIVERED
g_hevEventFiltered;
+HANDLE g_hevEventReaction; // ME_DB_EVENT_REACTION
+
int LoadDbintfModule()
{
// create events once, they will be inherited by all database plugins
@@ -89,6 +91,7 @@ int LoadDbintfModule()
g_hevEventDeleted = CreateHookableEvent(ME_DB_EVENT_DELETED);
g_hevEventSetJson = CreateHookableEvent(ME_DB_EVENT_SETJSON);
g_hevEventDelivered = CreateHookableEvent(ME_DB_EVENT_DELIVERED);
+ g_hevEventReaction = CreateHookableEvent(ME_DB_EVENT_REACTION);
g_hevEventFiltered = CreateHookableEvent(ME_DB_EVENT_FILTER_ADD);
while (!_waccess(L"libmdbx.mir", 0)) {