summaryrefslogtreecommitdiff
path: root/plugins/Db3x_mmap/src
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/Db3x_mmap/src
parent6ea21b88c16c553aa97e2cd53266ffd4a689d581 (diff)
DBEF_TEMPORARY - new flag to disable event notification about event addition
Diffstat (limited to 'plugins/Db3x_mmap/src')
-rw-r--r--plugins/Db3x_mmap/src/dbevents.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/Db3x_mmap/src/dbevents.cpp b/plugins/Db3x_mmap/src/dbevents.cpp
index 8e64963ac7..a49e9ebbfb 100644
--- a/plugins/Db3x_mmap/src/dbevents.cpp
+++ b/plugins/Db3x_mmap/src/dbevents.cpp
@@ -140,6 +140,9 @@ MEVENT CDb3Mmap::AddEvent(MCONTACT contactID, const DBEVENTINFO *dbei)
}
neednotify = true;
}
+ else if (dbe.flags & DBEF_TEMPORARY) {
+ neednotify = false;
+ }
else neednotify = m_safetyMode;
if (ccSub != nullptr) {