mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-14 12:46:49 +00:00
feat: send read receipts over federation
currently they will only be sent if a PDU has to be sent as well
This commit is contained in:
6 files changed
+197
-10
No files matched your search
@@ -406,6 +406,7 @@ pub async fn sync_events_route(
|
||||
.edus
|
||||
.readreceipts_since(&room_id, since)?
|
||||
.filter_map(|r| r.ok()) // Filter out buggy events
|
||||
.map(|(_, _, v)| v)
|
||||
.collect::<Vec<_>>();
|
||||
|
||||
if db.rooms.edus.last_typing_update(&room_id, &db.globals)? > since {
|
||||
|
||||
Reference in new issue
Block a user