From c89547aead2522dd792ddac8968c7ba149be5074 Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 27 Jun 2021 19:06:05 +0000 Subject: [PATCH] Only proxify images --- src/Factory/Api/Mastodon/Attachment.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);