summaryrefslogtreecommitdiff
path: root/plugins/Dbx_sqlite/src/dbevents.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-04-25 17:34:57 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-04-25 17:34:57 +0300
commit7378dd16f14d3f9f34cde4a18859d406cd303a22 (patch)
treec2cd180be03f9df961ed4145ed037071775e5c1d /plugins/Dbx_sqlite/src/dbevents.cpp
parent6ea21b88c16c553aa97e2cd53266ffd4a689d581 (diff)
DBEF_TEMPORARY - new flag to disable event notification about event addition
Diffstat (limited to 'plugins/Dbx_sqlite/src/dbevents.cpp')
-rwxr-xr-xplugins/Dbx_sqlite/src/dbevents.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Dbx_sqlite/src/dbevents.cpp b/plugins/Dbx_sqlite/src/dbevents.cpp
index 62de7b8394..bb76739baa 100755
--- a/plugins/Dbx_sqlite/src/dbevents.cpp
+++ b/plugins/Dbx_sqlite/src/dbevents.cpp
@@ -201,7 +201,7 @@ MEVENT CDbxSQLite::AddEvent(MCONTACT hContact, const DBEVENTINFO *dbei)
m_modules.insert(mir_strdup(dbei->szModule));
}
- if (m_safetyMode)
+ if (m_safetyMode && !(dbei->flags & DBEF_TEMPORARY))
NotifyEventHooks(g_hevEventAdded, hNotifyContact, (LPARAM)hDbEvent);
return hDbEvent;