From ac676dba1ced264ce0aa58d4ae4f7759d26d6401 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sun, 18 Nov 2018 21:52:21 -0700 Subject: [PATCH] Update Status model --- app/Status.php | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/app/Status.php b/app/Status.php index 23f87cfef..e41a60e38 100644 --- a/app/Status.php +++ b/app/Status.php @@ -18,7 +18,7 @@ class Status extends Model */ protected $dates = ['deleted_at']; - protected $fillable = ['profile_id', 'visibility']; + protected $fillable = ['profile_id', 'visibility', 'in_reply_to_id']; public function profile() { @@ -279,9 +279,14 @@ class Status extends Model ]; $res['cc'] = array_merge([$this->profile->permalink('/followers')], $mentions); break; - - default: - # code... + + case 'unlisted': + break; + + case 'private': + break; + + case 'direct': break; } return $res[$audience];