From 8bc122963a2b6899e924cfb3d1d537d19b5127c5 Mon Sep 17 00:00:00 2001 From: Christophe Deschamps Date: Thu, 26 Sep 2024 08:30:50 +0200 Subject: [PATCH] Notify application when UI configuration parameters have been received by remote provisioning --- Linphone/model/setting/SettingsModel.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Linphone/model/setting/SettingsModel.cpp b/Linphone/model/setting/SettingsModel.cpp index 9086276c5..5db5f87c8 100644 --- a/Linphone/model/setting/SettingsModel.cpp +++ b/Linphone/model/setting/SettingsModel.cpp @@ -478,6 +478,16 @@ bool SettingsModel::getShowChats() const { // clang-format off void SettingsModel::notifyConfigReady(){ + DEFINE_NOTIFY_CONFIG_READY(disableChatFeature, DisableChatFeature) + DEFINE_NOTIFY_CONFIG_READY(disableMeetingsFeature, DisableMeetingsFeature) + DEFINE_NOTIFY_CONFIG_READY(hideSettings,HideSettings) + DEFINE_NOTIFY_CONFIG_READY(hideAccountSettings, HideAccountSettings) + DEFINE_NOTIFY_CONFIG_READY(disableCallRecordings, DisableCallRecordings) + DEFINE_NOTIFY_CONFIG_READY(assistantHideCreateAccount, AssistantHideCreateAccount) + DEFINE_NOTIFY_CONFIG_READY(assistantDisableQrCode, AssistantDisableQrCode) + DEFINE_NOTIFY_CONFIG_READY(assistantHideThirdPartyAccount, AssistantHideThirdPartyAccount) + DEFINE_NOTIFY_CONFIG_READY(onlyDisplaySipUriUsername, OnlyDisplaySipUriUsername) + DEFINE_NOTIFY_CONFIG_READY(darkModeAllowed, DarkModeAllowed) DEFINE_NOTIFY_CONFIG_READY(assistantGoDirectlyToThirdPartySipAccountLogin, AssistantGoDirectlyToThirdPartySipAccountLogin) DEFINE_NOTIFY_CONFIG_READY(assistantThirdPartySipAccountDomain, AssistantThirdPartySipAccountDomain)