Update StatusController

This commit is contained in:
Daniel Supernault 2018-12-10 21:26:11 -07:00
parent 8d32ff0589
commit 564fd93290
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -279,7 +279,7 @@ class StatusController extends Controller
$photos = 0;
$videos = 0;
foreach($mimes as $mime) {
if(in_array($mime, $allowed) == false) {
if(in_array($mime, $allowed) == false && $mime !== 'video/mp4') {
continue;
}
if(str_contains($mime, 'image/')) {