From 29325d62ffe4c70adc28a1aba27c2b097a0ac2ff Mon Sep 17 00:00:00 2001 From: Maksim Sukharev Date: Wed, 3 Jul 2024 10:28:14 +0200 Subject: [PATCH 1/2] fix(settings): drop local setting for background blur filter, use provided by server Signed-off-by: Maksim Sukharev (cherry picked from commit ed39a6bef13f7c1312459ebc610ba669d26501e0) Signed-off-by: Maksim Sukharev --- lib/TInitialState.php | 3 ++ src/components/CallView/CallView.vue | 16 +------ .../SettingsDialog/SettingsDialog.vue | 42 ++++++++++++------- 3 files changed, 31 insertions(+), 30 deletions(-) diff --git a/lib/TInitialState.php b/lib/TInitialState.php index fe28da8a58..8340567c1c 100644 --- a/lib/TInitialState.php +++ b/lib/TInitialState.php @@ -133,6 +133,9 @@ protected function publishInitialStateForUser(IUser $user, IRootFolder $rootFold $this->serverConfig->getUserValue($user->getUID(), 'spreed', 'play_sounds', 'yes') === 'yes' ); + $this->initialState->provideInitialState( + 'force_enable_blur_filter', + $this->serverConfig->getUserValue($user->getUID(), 'theming', 'force_enable_blur_filter', '')); $this->initialState->provideInitialState( 'user_group_ids', diff --git a/src/components/CallView/CallView.vue b/src/components/CallView/CallView.vue index 19e8b43f6a..1402ce2980 100644 --- a/src/components/CallView/CallView.vue +++ b/src/components/CallView/CallView.vue @@ -21,7 +21,7 @@ -->