feat(presence,push) optionally suppress push notifications for active users

This commit is contained in:
tototomate123 authored and Jason Volk committed 2025-09-08 22:25:00 +00:00
1 parent 1be7fd9247
commit b5a9884194
5 files changed
+67 -4

No files matched your search

+3
View File
@@ -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