feat(presence,push) optionally suppress push notifications for active users
This commit is contained in:
committed by
Jason Volk
parent
1be7fd9247
commit
b5a9884194
@@ -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