Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2021-10-29 10:20:21 +0300
committerJoas Schilling <coding@schilljs.com>2021-11-03 16:40:38 +0300
commit0ad342d12ff4682202089d2ff7bd01e7d83d4c2d (patch)
treea08f47ee643e9e4336bd62b337373d3b667950f3 /lib
parentf4208eff934795b0cad9586293ff78ebb5d958d9 (diff)
Publish federation as initial state and load remote suggestions
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/TInitialState.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/TInitialState.php b/lib/TInitialState.php
index 05229adad..3d3e15874 100644
--- a/lib/TInitialState.php
+++ b/lib/TInitialState.php
@@ -82,6 +82,11 @@ trait TInitialState {
'grid_videos_limit_enforced',
$this->talkConfig->getGridVideosLimitEnforced()
);
+
+ $this->initialState->provideInitialState(
+ 'federation_enabled',
+ $this->talkConfig->isFederationEnabled()
+ );
}
protected function publishInitialStateForUser(IUser $user, IRootFolder $rootFolder, IAppManager $appManager): void {