From 5106c84bc3dde6d44dfe7a152ec24a9c39e93054 Mon Sep 17 00:00:00 2001 From: Thomas Hackl <hackl@data-quest.de> Date: Fri, 13 May 2022 13:52:25 +0200 Subject: [PATCH] typo in config call --- models/MatrixAccount.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/models/MatrixAccount.php b/models/MatrixAccount.php index 9e75d29..776528d 100644 --- a/models/MatrixAccount.php +++ b/models/MatrixAccount.php @@ -63,8 +63,8 @@ class MatrixAccount extends SimpleORMap // Access token specified, use this (and skip login because the token can be used directly). if (trim(Config::get()->MATRIX_SYSTEM_ACCOUNT_ACCESS_TOKEN) != '') { $account = new Patrix\Account(trim(Config::get()->MATRIX_SYSTEM_ACCOUNT_USERNAME), ''); - $account->setUserId( - '@' . Config::get()->MATRIX_SYSTEM_ACCOUNT_USERNAME . ':' . MATRIX_ACCOUNTS_LOCAL_PART); + $account->setUserId('@' . Config::get()->MATRIX_SYSTEM_ACCOUNT_USERNAME . + ':' . Config::get()->MATRIX_ACCOUNTS_LOCAL_PART); $account->setAccessData(trim(Config::get()->MATRIX_SYSTEM_ACCOUNT_ACCESS_TOKEN), 'Stud.IP'); // No token, login by username and password. } else { -- GitLab