core: fix auto sync does not send sync complete event

This commit is contained in:
ammarahm-ed
2022-09-08 18:30:49 +05:00
parent 0bb7c2dbb9
commit c8dc5207b4

View File

@@ -372,7 +372,7 @@ class Sync {
// refresh monographs on sync completed
await this.db.monographs.init();
// refresh topic references
this.db.notes.topicReferences.refresh();
this.db.notes.topicReferences.rebuild();
await this.start(false, false, lastSynced);
}