summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraunsane <aunsane@gmail.com>2018-10-17 23:17:52 +0300
committeraunsane <aunsane@gmail.com>2018-10-17 23:17:52 +0300
commit8e46dca450dee488b406dbb49eda1a06f55ea2a8 (patch)
tree05af70bb653fb431b88e6cde0d78ab0a71356b43
parent8c2746974921d380ed7e64ed5217a42262f1e965 (diff)
dbx_sqlite: store event into sub, but notify meta
-rw-r--r--plugins/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 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;