add config option for allow_outgoing_read_receipts
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
2b54c00f04
commit
6c9e95f7c9
4 changed files with 16 additions and 1 deletions
|
@ -450,7 +450,10 @@ impl Service {
|
|||
.filter_map(Result::ok)
|
||||
.filter(|user_id| user_id.server_name() == services().globals.server_name()),
|
||||
);
|
||||
if !select_edus_receipts(&room_id, since, &mut max_edu_count, &mut events)? {
|
||||
|
||||
if services().globals.allow_outgoing_read_receipts()
|
||||
&& !select_edus_receipts(&room_id, since, &mut max_edu_count, &mut events)?
|
||||
{
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue