Move disable_chat_feature to the UI section

This commit is contained in:
Benoit Martins 2025-10-29 16:38:04 +01:00
parent f8b7e3b319
commit 8cd322ff0e

View file

@ -271,14 +271,14 @@ class CorePreferences {
} }
} }
static var disableChatFeature: Bool { static var disableChatFeature: Bool {
get { get {
return Config.get().getBool(section: "app", key: "disable_chat_feature", defaultValue: false) return Config.get().getBool(section: "ui", key: "disable_chat_feature", defaultValue: false)
} }
set { set {
Config.get().setBool(section: "app", key: "disable_chat_feature", value: newValue) Config.get().setBool(section: "ui", key: "disable_chat_feature", value: newValue)
} }
} }
static var disableMeetings: Bool { static var disableMeetings: Bool {
get { get {