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

@ -124,14 +124,6 @@ For security and safety reasons, conduwuit will shut down. If you are extra sure
));
}
if config.allow_outgoing_presence {
warn!(
"! Outgoing federated presence is not spec compliant due to relying on PDUs and EDUs combined.\nOutgoing \
presence will not be very reliable due to this and any issues with federated outgoing presence are very \
likely attributed to this issue.\nIncoming presence and local presence are unaffected."
);
}
if config
.url_preview_domain_contains_allowlist
.contains(&"*".to_owned())

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,