Browse Source

Update StatusController, fix scope bug

Daniel Supernault 4 years ago
parent
commit
7dc3739c1d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Http/Controllers/StatusController.php

+ 1 - 1
app/Http/Controllers/StatusController.php

@@ -33,7 +33,7 @@ class StatusController extends Controller
 
         $status = Status::whereProfileId($user->id)
                 ->whereNull('reblog_of_id')
-                ->whereIn('scope', ['public','unlisted'])
+                ->whereIn('scope', ['public','unlisted', 'private'])
                 ->findOrFail($id);
 
         if($status->uri || $status->url) {