Browse Source

Update StatusController

Daniel Supernault 6 years ago
parent
commit
564fd93290
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Http/Controllers/StatusController.php

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

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