From c8737113f3bd25e913b0575767d00dd6920a1f36 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sat, 10 Nov 2018 20:15:26 -0700 Subject: [PATCH] Update StatusController --- app/Http/Controllers/StatusController.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Http/Controllers/StatusController.php b/app/Http/Controllers/StatusController.php index c8a49dc4..20e3043a 100644 --- a/app/Http/Controllers/StatusController.php +++ b/app/Http/Controllers/StatusController.php @@ -39,7 +39,8 @@ class StatusController extends Controller return $this->showActivityPub($request, $status); } - return view('status.show', compact('user', 'status')); + $template = $status->in_reply_to_id ? 'status.reply' : 'status.show'; + return view($template, compact('user', 'status')); } public function compose()