diff options
author | Joas Schilling <coding@schilljs.com> | 2021-10-04 16:59:05 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2021-10-04 16:59:05 +0300 |
commit | 257d026b6857f428fe7c00513213570b909546c0 (patch) | |
tree | 456a95a9ba287bb5a7db7675d0a8c87631e9a655 /lib | |
parent | edb51d34604bf73664c58248e6d5958428d98822 (diff) |
Typos
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Controller/RoomController.php | 2 | ||||
-rw-r--r-- | lib/Federation/FederationManager.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/Controller/RoomController.php b/lib/Controller/RoomController.php index 8f313db4c..248169f51 100644 --- a/lib/Controller/RoomController.php +++ b/lib/Controller/RoomController.php @@ -1097,7 +1097,7 @@ class RoomController extends AEnvironmentAwareController { return new DataResponse($data); } elseif ($source === 'remote') { if (!$this->federationManager->isEnabled()) { - return new DataResponse([]. Http::STATUS_BAD_REQUEST); + return new DataResponse([], Http::STATUS_BAD_REQUEST); } try { $newUser = $this->cloudIdManager->resolveCloudId($newParticipant); diff --git a/lib/Federation/FederationManager.php b/lib/Federation/FederationManager.php index ace63fe75..c3fd88c10 100644 --- a/lib/Federation/FederationManager.php +++ b/lib/Federation/FederationManager.php @@ -88,7 +88,7 @@ class FederationManager { */ public function isEnabled(): bool { // TODO: Set to default true once implementation is complete - return $this->config->getAppValue(Application::APP_ID, 'federation_enabled', "false") === "true"; + return $this->config->getAppValue(Application::APP_ID, 'federation_enabled', 'false') === 'true'; } /** |