mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-15 13:16:56 +00:00
fix: Adjust sync watcher logic to be more explicit
This commit is contained in:
1 parent
3adeee04d7
commit
3467dffd94
22 files changed
+189
-249
No files matched your search
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user