From 8cd322ff0e838b12fe5731ad84b13e250675c933 Mon Sep 17 00:00:00 2001 From: Benoit Martins Date: Wed, 29 Oct 2025 16:38:04 +0100 Subject: [PATCH] Move disable_chat_feature to the UI section --- Linphone/Core/CorePreferences.swift | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Linphone/Core/CorePreferences.swift b/Linphone/Core/CorePreferences.swift index 0d205e9d3..9b8b8ef40 100644 --- a/Linphone/Core/CorePreferences.swift +++ b/Linphone/Core/CorePreferences.swift @@ -271,14 +271,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 {