mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-09 16:24:51 +00:00
Update StatusController
This commit is contained in:
parent
8d32ff0589
commit
564fd93290
1 changed files with 1 additions and 1 deletions
|
@ -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/')) {
|
||||
|
|
Loading…
Reference in a new issue