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
d069379d77
commit
7786553cda
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