feat(presence): add granular allow configuration
This commit is contained in:
parent
ba03edfae9
commit
58a83f06b1
9 changed files with 133 additions and 98 deletions
|
@ -991,7 +991,7 @@ impl KeyValueDatabase {
|
|||
if services().globals.allow_check_for_updates() {
|
||||
Self::start_check_for_updates_task();
|
||||
}
|
||||
if services().globals.config.allow_presence {
|
||||
if services().globals.allow_local_presence() {
|
||||
Self::start_presence_handler(presence_receiver).await;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue