add warning about outgoing presence PDU/EDU relationship
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
1460a82f54
commit
4e8823dedb
4 changed files with 10 additions and 2 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue