From 8e46dca450dee488b406dbb49eda1a06f55ea2a8 Mon Sep 17 00:00:00 2001 From: aunsane Date: Wed, 17 Oct 2018 23:17:52 +0300 Subject: dbx_sqlite: store event into sub, but notify meta --- plugins/Dbx_sqlite/src/dbevents.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/Dbx_sqlite/src/dbevents.cpp') diff --git a/plugins/Dbx_sqlite/src/dbevents.cpp b/plugins/Dbx_sqlite/src/dbevents.cpp index db8260eec9..5886ac0197 100644 --- a/plugins/Dbx_sqlite/src/dbevents.cpp +++ b/plugins/Dbx_sqlite/src/dbevents.cpp @@ -146,7 +146,7 @@ MEVENT CDbxSQLite::AddEvent(MCONTACT hContact, DBEVENTINFO *dbei) if (!(dbei->flags & DBEF_SENT)) db_mc_setDefault(cc->contactID, hContact, false); if (db_mc_isEnabled()) - hNotifyContact = hContact; + hNotifyContact = cc->contactID; // and add an event to a metahistory } } else cc = &m_system; -- cgit v1.2.3