add warning about outgoing presence PDU/EDU relationship
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user