fix: Adjust sync watcher logic to be more explicit

This commit is contained in:
Ginger authored and Ellis Git committed 2026-07-05 00:42:44 +00:00
1 parent 3adeee04d7
commit 3467dffd94
22 files changed
+189 -249

No files matched your search

+4
View File
@@ -191,6 +191,8 @@ impl super::Service {
"content": content,
})),
);
self.services.sync.wake(target_user_id).await;
}
/// Gets all to-device events between the two counts.
@@ -242,6 +244,8 @@ impl super::Service {
self.db.todeviceid_events.del(key);
})
.await;
self.services.sync.wake(user_id).await;
}
/// Updates device metadata and increments the device list version.