mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-16 05:36:50 +00:00
feat(presence,push) optionally suppress push notifications for active users
This commit is contained in:
1 parent
1be7fd9247
commit
b5a9884194
5 files changed
+67
-4
No files matched your search
@@ -133,6 +133,9 @@ pub(crate) async fn sync_events_route(
|
||||
.await
|
||||
.log_err()
|
||||
.ok();
|
||||
|
||||
// Record that this user was actively syncing now (for push suppression heuristic)
|
||||
services.presence.note_sync(sender_user).await;
|
||||
}
|
||||
|
||||
let mut since = body
|
||||
|
||||
Reference in new issue
Block a user