Update StatusController

pull/547/head
Daniel Supernault 6 years ago
parent 905c2417ae
commit c8737113f3
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7

@ -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()

Loading…
Cancel
Save