summaryrefslogtreecommitdiffstats
path: root/lib/Controller
diff options
context:
space:
mode:
authorMaxence Lange <maxence@artificial-owl.com>2019-04-22 14:11:34 -0100
committerMaxence Lange <maxence@artificial-owl.com>2019-05-03 16:31:15 -0100
commit055aa5865a8ab43d81a4cbf4503ef136dc66ae38 (patch)
treef9ba1057a8d01f2e59a5765184d15bf53d449b4c /lib/Controller
parent0f416c588b46c01bb36ae3810cb92eec6008e82e (diff)
init viewer on federated stream
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'lib/Controller')
-rw-r--r--lib/Controller/LocalController.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Controller/LocalController.php b/lib/Controller/LocalController.php
index be5b27cc..65ebc31c 100644
--- a/lib/Controller/LocalController.php
+++ b/lib/Controller/LocalController.php
@@ -401,6 +401,7 @@ class LocalController extends Controller {
*/
public function streamFederated(int $since = 0, int $limit = 5): DataResponse {
try {
+ $this->initViewer(true);
$posts = $this->noteService->getStreamGlobalTimeline($since, $limit);
return $this->success($posts);