enable presence by default, remove presence warning
it is now very very good Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
1b84f5a855
commit
bfd91c93e0
3 changed files with 8 additions and 17 deletions
|
@ -211,11 +211,11 @@ pub struct Config {
|
|||
#[serde(default = "default_notification_push_path")]
|
||||
pub notification_push_path: String,
|
||||
|
||||
#[serde(default)]
|
||||
#[serde(default = "true_fn")]
|
||||
pub allow_local_presence: bool,
|
||||
#[serde(default = "true_fn")]
|
||||
pub allow_incoming_presence: bool,
|
||||
#[serde(default)]
|
||||
#[serde(default = "true_fn")]
|
||||
pub allow_outgoing_presence: bool,
|
||||
#[serde(default = "default_presence_idle_timeout_s")]
|
||||
pub presence_idle_timeout_s: u64,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue