mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-05-26 20:49:55 +00:00
feat: #821 - Options to disable local typing and read receipts
This commit is contained in:
@@ -1259,7 +1259,10 @@ pub struct Config {
|
|||||||
#[serde(default = "true_fn")]
|
#[serde(default = "true_fn")]
|
||||||
pub presence_timeout_remote_users: bool,
|
pub presence_timeout_remote_users: bool,
|
||||||
|
|
||||||
/// Allow local read receipts
|
/// Allow local read receipts.
|
||||||
|
///
|
||||||
|
/// Disabling this will effectively also disable outgoing federated read
|
||||||
|
/// receipts.
|
||||||
#[serde(default = "true_fn")]
|
#[serde(default = "true_fn")]
|
||||||
pub allow_local_read_receipts: bool,
|
pub allow_local_read_receipts: bool,
|
||||||
|
|
||||||
@@ -1272,6 +1275,9 @@ pub struct Config {
|
|||||||
pub allow_outgoing_read_receipts: bool,
|
pub allow_outgoing_read_receipts: bool,
|
||||||
|
|
||||||
/// Allow local typing updates.
|
/// Allow local typing updates.
|
||||||
|
///
|
||||||
|
/// Disabling this will effectively also disable outgoing federated typing
|
||||||
|
/// updates.
|
||||||
#[serde(default = "true_fn")]
|
#[serde(default = "true_fn")]
|
||||||
pub allow_local_typing: bool,
|
pub allow_local_typing: bool,
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user