From f39fec44f574ee903a76b4969221a084aa15d030 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Mon, 17 Dec 2018 23:40:35 -0700 Subject: [PATCH] Update Status model --- app/Status.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/Status.php b/app/Status.php index 4769a733b..e9c40ca5f 100644 --- a/app/Status.php +++ b/app/Status.php @@ -90,6 +90,9 @@ class Status extends Model public function url() { + if($this->url) { + return $this->url; + } $id = $this->id; $username = $this->profile->username; $path = config('app.url')."/p/{$username}/{$id}";