1
0
Fork 0
forked from mirror/pixelfed

Update StatusController, fix scope bug

This commit is contained in:
Daniel Supernault 2021-01-03 22:06:05 -07:00
parent 95cea65d39
commit 7dc3739c1d
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

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