forked from GNUsocial/gnu-social
adding the odd but reported Twitter avatar .jpeg file extension
This commit is contained in:
parent
b2a91944bb
commit
bd8178592c
@ -398,6 +398,7 @@ class TwitterImport
|
||||
$mediatype = null;
|
||||
|
||||
switch (strtolower($ext)) {
|
||||
case 'jpeg':
|
||||
case 'jpg':
|
||||
$mediatype = 'image/jpg';
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user