mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-10 00:34:50 +00:00
Update Media model
This commit is contained in:
parent
c7e030cb30
commit
2c110283f9
1 changed files with 5 additions and 0 deletions
|
@ -46,7 +46,12 @@ class Media extends Model
|
|||
{
|
||||
$verb = 'Image';
|
||||
switch ($this->mimeType()) {
|
||||
case 'audio':
|
||||
$verb = 'Audio';
|
||||
break;
|
||||
|
||||
case 'image':
|
||||
$verb = 'Image';
|
||||
break;
|
||||
|
||||
case 'video':
|
||||
|
|
Loading…
Reference in a new issue