summaryrefslogtreecommitdiffstats
path: root/lib/Controller/PageController.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2020-09-22 11:07:37 +0200
committerJoas Schilling <coding@schilljs.com>2020-09-22 13:08:56 +0200
commit9a599f12ce266fbac430be412c4e1bdb1a4cb87e (patch)
tree336d5c578a53209e5d8be35520f397fe0aa31827 /lib/Controller/PageController.php
parent64c66e7ba18ded8129f462496de6add5e91284a3 (diff)
Allow to preload a user when getting the room by token
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/Controller/PageController.php')
-rw-r--r--lib/Controller/PageController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Controller/PageController.php b/lib/Controller/PageController.php
index eab9e146f..92f71b0e1 100644
--- a/lib/Controller/PageController.php
+++ b/lib/Controller/PageController.php
@@ -185,7 +185,7 @@ class PageController extends Controller {
if ($token !== '') {
$room = null;
try {
- $room = $this->manager->getRoomByToken($token);
+ $room = $this->manager->getRoomByToken($token, $this->userId);
$notification = $this->notificationManager->createNotification();
$shouldFlush = $this->notificationManager->defer();
try {