From 8969c6d6ba6a0641768baa3a1e2bdfa51c59249b Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 30 Jan 2019 15:59:55 +0300 Subject: fixes #1785 (sub's events aren't marked as read, because of that SRMM could read all events into a message log) --- plugins/Dbx_mdbx/src/dbintf.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'plugins/Dbx_mdbx/src/dbintf.h') diff --git a/plugins/Dbx_mdbx/src/dbintf.h b/plugins/Dbx_mdbx/src/dbintf.h index ba1446dc3f..24ac81db2c 100644 --- a/plugins/Dbx_mdbx/src/dbintf.h +++ b/plugins/Dbx_mdbx/src/dbintf.h @@ -56,7 +56,7 @@ struct DBContact struct DBEvent { - MCONTACT contactID; // a contact this event belongs to + MCONTACT dwContactID; // a contact this event belongs to uint32_t iModuleId; // offset to a DBModuleName struct of the name of uint64_t timestamp; // seconds since 00:00:00 01/01/1970 uint32_t flags; // see m_database.h, db/event/add @@ -150,6 +150,7 @@ class CDbxMDBX : public MDatabaseCommon, public MZeroedObject return res; } + bool CheckEvent(DBCachedContact *cc, const DBEvent *dbe, DBCachedContact *&cc2); bool EditEvent(MCONTACT contactID, MEVENT hDbEvent, DBEVENTINFO *dbe, bool bNew); void FillContacts(void); int PrepareCheck(void); -- cgit v1.2.3