diff options
author | Joas Schilling <coding@schilljs.com> | 2021-10-29 10:20:21 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2021-11-03 16:40:38 +0300 |
commit | 0ad342d12ff4682202089d2ff7bd01e7d83d4c2d (patch) | |
tree | a08f47ee643e9e4336bd62b337373d3b667950f3 /lib | |
parent | f4208eff934795b0cad9586293ff78ebb5d958d9 (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.php | 5 |
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 { |