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:
strawberry 2024-04-05 00:36:49 -04:00 committed by June
parent 1b84f5a855
commit bfd91c93e0
3 changed files with 8 additions and 17 deletions

View file

@ -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,