add warning about outgoing presence PDU/EDU relationship

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry 2024-01-21 13:28:51 -05:00 committed by June
parent 1460a82f54
commit 4e8823dedb
4 changed files with 10 additions and 2 deletions

View file

@ -164,6 +164,10 @@ async fn main() {
If this is not the desired behaviour, please disable `allow_registration` and set a registration token.");
}
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.");
}
info!("Starting server");
if let Err(e) = run_server().await {
error!("Critical error running server: {}", e);