mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-07 00:48:55 +00:00
Removed notices that still had been creeping around ...
This commit is contained in:
parent
28b699573c
commit
564235debd
3 changed files with 13 additions and 5 deletions
|
@ -1441,7 +1441,7 @@ function statusnet_convertmsg(App $a, $body, $no_tags = false)
|
|||
|
||||
$tempfile = tempnam(get_temppath(), "cache");
|
||||
file_put_contents($tempfile, $img_str);
|
||||
$mime = image_type_to_mime_type(exif_imagetype($tempfile));
|
||||
$mime = mime_content_type($tempfile);
|
||||
unlink($tempfile);
|
||||
|
||||
if (substr($mime, 0, 6) == "image/") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue