1
0
Fork 0

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
1 changed files with 1 additions and 1 deletions

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/')) {