diff options
author | Julien Veyssier <eneiluj@posteo.net> | 2020-09-03 15:34:08 +0200 |
---|---|---|
committer | Julien Veyssier <eneiluj@posteo.net> | 2020-09-07 10:02:06 +0200 |
commit | 51878b8f58fae201fddcd840ad709890b773f8c2 (patch) | |
tree | 5b9b204cd8656bf5ba16f1806b2bf4aea11ca424 /lib/Controller/MatterbridgeController.php | |
parent | 8acff3cb5e9ee04cddc3b077ee61fc370e6dfba4 (diff) |
fix IRC password in generated config, improve code design
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
Diffstat (limited to 'lib/Controller/MatterbridgeController.php')
-rw-r--r-- | lib/Controller/MatterbridgeController.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Controller/MatterbridgeController.php b/lib/Controller/MatterbridgeController.php index cea3f4f2c..acef7eecf 100644 --- a/lib/Controller/MatterbridgeController.php +++ b/lib/Controller/MatterbridgeController.php @@ -77,8 +77,8 @@ class MatterbridgeController extends AEnvironmentAwareController { * @return DataResponse */ public function getBridgeProcessState(): DataResponse { - $result = $this->bridgeManager->getBridgeProcessState($this->room); - return new DataResponse($result); + $state = $this->bridgeManager->getBridgeProcessState($this->room); + return new DataResponse($state); } /** |