From: Michael Date: Sun, 27 Jun 2021 19:06:05 +0000 (+0000) Subject: Only proxify images X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c89547aead2522dd792ddac8968c7ba149be5074;p=friendica.git Only proxify images --- diff --git a/src/Factory/Api/Mastodon/Attachment.php b/src/Factory/Api/Mastodon/Attachment.php index 3b3508481b..f073ac1575 100644 --- a/src/Factory/Api/Mastodon/Attachment.php +++ b/src/Factory/Api/Mastodon/Attachment.php @@ -70,7 +70,7 @@ class Attachment extends BaseFactory $url = Post\Media::getPreviewUrlForId($attachment['id']); $preview = Post\Media::getPreviewUrlForId($attachment['id'], Proxy::SIZE_SMALL); } else { - $url = Proxy::proxifyUrl($attachment['url']); + $url = $attachment['url']; if (!empty($attachment['preview'])) { $preview = Post\Media::getPreviewUrlForId($attachment['id'], Proxy::SIZE_SMALL);