config option to allow incoming remote read receipts
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
b78d79a45a
commit
a7966b8f05
4 changed files with 17 additions and 1 deletions
|
@ -823,6 +823,10 @@ pub async fn send_transaction_message_route(
|
|||
}
|
||||
},
|
||||
Edu::Receipt(receipt) => {
|
||||
if !services().globals.allow_incoming_read_receipts() {
|
||||
continue;
|
||||
}
|
||||
|
||||
for (room_id, room_updates) in receipt.receipts {
|
||||
for (user_id, user_updates) in room_updates.read {
|
||||
if let Some((event_id, _)) = user_updates
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue