mirror of
https://github.com/pixelfed/pixelfed.git
synced 2025-01-30 16:30:45 +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;
|
$photos = 0;
|
||||||
$videos = 0;
|
$videos = 0;
|
||||||
foreach($mimes as $mime) {
|
foreach($mimes as $mime) {
|
||||||
if(in_array($mime, $allowed) == false) {
|
if(in_array($mime, $allowed) == false && $mime !== 'video/mp4') {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if(str_contains($mime, 'image/')) {
|
if(str_contains($mime, 'image/')) {
|
||||||
|
|
Loading…
Reference in a new issue