diff options
author | George Hazan <ghazan@miranda.im> | 2019-01-30 15:59:55 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-01-30 15:59:55 +0300 |
commit | 8969c6d6ba6a0641768baa3a1e2bdfa51c59249b (patch) | |
tree | b265f9819c5a1f9b628d4424005af2dc17456326 /plugins/Dbx_mdbx/src/dbintf.h | |
parent | cb4b5a8aa228116f03d76ace440115516cfb0ed5 (diff) |
fixes #1785 (sub's events aren't marked as read, because of that SRMM could read all events into a message log)
Diffstat (limited to 'plugins/Dbx_mdbx/src/dbintf.h')
-rw-r--r-- | plugins/Dbx_mdbx/src/dbintf.h | 3 |
1 files changed, 2 insertions, 1 deletions
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);
|