Fix video embeds. Closes #7373

pull/7379/head
Daniel Supernault 4 days ago
parent 2a5d449516
commit 9909bd0d33
No known key found for this signature in database
GPG Key ID: 23740873EE6F76A1

@ -110,7 +110,7 @@ class StatusController extends Controller
intval($status['account']['id']) !== intval($profile['id']) || intval($status['account']['id']) !== intval($profile['id']) ||
$status['sensitive'] || $status['sensitive'] ||
$status['visibility'] !== 'public' || $status['visibility'] !== 'public' ||
! in_array($status['pf_type'], ['photo', 'photo:album']) ! in_array($status['pf_type'], ['photo', 'photo:album', 'video'])
) { ) {
return $this->embedRemoved(); return $this->embedRemoved();
} }

Loading…
Cancel
Save