diff --git a/Linphone/Core/CorePreferences.swift b/Linphone/Core/CorePreferences.swift index 1f1e4ca6d..5b2e60781 100644 --- a/Linphone/Core/CorePreferences.swift +++ b/Linphone/Core/CorePreferences.swift @@ -256,14 +256,14 @@ class CorePreferences { } } - static var disableChatFeature: Bool { - get { - return Config.get().getBool(section: "app", key: "disable_chat_feature", defaultValue: false) - } - set { - Config.get().setBool(section: "app", key: "disable_chat_feature", value: newValue) - } - } + static var disableChatFeature: Bool { + get { + return Config.get().getBool(section: "ui", key: "disable_chat_feature", defaultValue: false) + } + set { + Config.get().setBool(section: "ui", key: "disable_chat_feature", value: newValue) + } + } static var disableMeetings: Bool { get {