feat(presence): add granular allow configuration

This commit is contained in:
Jakub Kubík authored and girlbossceo committed 2023-10-21 22:31:16 -04:00
1 parent ba03edfae9
commit 58a83f06b1
9 files changed
+133 -98

No files matched your search

+1 -1
View File
@@ -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;
}