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

@ -395,7 +395,7 @@ impl Service<'_> {
self.config.allow_incoming_presence
}
pub fn allow_outcoming_presence(&self) -> bool {
pub fn allow_outgoing_presence(&self) -> bool {
self.config.allow_outgoing_presence
}

View file

@ -287,7 +287,7 @@ impl Service {
.filter(|user_id| user_id.server_name() == services().globals.server_name()),
);
if services().globals.allow_outcoming_presence() {
if services().globals.allow_outgoing_presence() {
// Look for presence updates in this room
let mut presence_updates = Vec::new();