summaryrefslogtreecommitdiff
path: root/plugins/Dbx_sqlite/src/dbevents.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-07-21 17:21:05 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-07-21 17:21:05 +0300
commitf02dcd42ac54c448d5a3af69be87d971326b61b8 (patch)
tree1c7f28c5c7b6f1a442655a026c702c45443059d6 /plugins/Dbx_sqlite/src/dbevents.cpp
parent5fd260b7c4c98bfa2d17a301d832a859c2af1f92 (diff)
fixes #4553 (NewStory: проблема с подсчётом числа событий в истории метаконтакта)
Diffstat (limited to 'plugins/Dbx_sqlite/src/dbevents.cpp')
-rw-r--r--plugins/Dbx_sqlite/src/dbevents.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/Dbx_sqlite/src/dbevents.cpp b/plugins/Dbx_sqlite/src/dbevents.cpp
index 38a3546098..3071373b5b 100644
--- a/plugins/Dbx_sqlite/src/dbevents.cpp
+++ b/plugins/Dbx_sqlite/src/dbevents.cpp
@@ -713,6 +713,8 @@ BOOL CDbxSQLite::MetaMergeHistory(DBCachedContact *ccMeta, DBCachedContact *ccSu
sqlite3_reset(stmt);
if (rc != SQLITE_DONE)
return FALSE;
+
+ ccMeta->m_count = GetContactEventCount(ccMeta->contactID);
}
DBFlush();