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
|
@ -239,6 +239,8 @@ pub struct Config {
|
|||
|
||||
#[serde(default = "true_fn")]
|
||||
pub allow_incoming_read_receipts: bool,
|
||||
#[serde(default = "true_fn")]
|
||||
pub allow_outgoing_read_receipts: bool,
|
||||
|
||||
#[serde(default = "true_fn")]
|
||||
pub allow_outgoing_typing: bool,
|
||||
|
@ -542,6 +544,10 @@ impl fmt::Display for Config {
|
|||
"Allow incoming remote read receipts",
|
||||
&self.allow_incoming_read_receipts.to_string(),
|
||||
),
|
||||
(
|
||||
"Allow outgoing remote read receipts",
|
||||
&self.allow_outgoing_read_receipts.to_string(),
|
||||
),
|
||||
(
|
||||
"Block non-admin room invites (local and remote, admins can still send and receive invites)",
|
||||
&self.block_non_admin_invites.to_string(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue