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
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-11-04 16:36:24 +0300
committerJoas Schilling <coding@schilljs.com>2020-11-26 11:46:45 +0300
commita22a8896bf8fc6bc1c347d97451d20a41f9aa28a (patch)
tree17fcf6e5dfc30c1aefea8a141ec0b0c4d16a67aa /lib/Controller
parent8687b5c373d4d655606704d4dfec64808676f256 (diff)
Don't preload the user so we load it with the session later on
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/Controller')
-rw-r--r--lib/Controller/SignalingController.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Controller/SignalingController.php b/lib/Controller/SignalingController.php
index 917809a9b..02b8adf28 100644
--- a/lib/Controller/SignalingController.php
+++ b/lib/Controller/SignalingController.php
@@ -549,7 +549,8 @@ class SignalingController extends OCSController {
}
} else {
try {
- $room = $this->manager->getRoomByToken($token, $userId);
+ // FIXME Don't preload with the user as that misses the session, kinda meh.
+ $room = $this->manager->getRoomByToken($token);
} catch (RoomNotFoundException $e) {
return new DataResponse([
'type' => 'error',