mirror of
https://github.com/girlbossceo/conduwuit.git
synced 2026-03-30 15:34:43 -04:00
doc+check if user does not have local presence enabled if using outgoing presence
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
3a74e991f1
commit
d8380714a3
2 changed files with 7 additions and 0 deletions
|
|
@ -178,6 +178,11 @@ async fn main() {
|
|||
If this is not the desired behaviour, please set a registration token.");
|
||||
}
|
||||
|
||||
if config.allow_outgoing_presence && !config.allow_local_presence {
|
||||
error!("Outgoing presence requires allowing local presence. Please enable \"allow_outgoing_presence\".");
|
||||
return;
|
||||
}
|
||||
|
||||
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.");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue