]> git.mxchange.org Git - friendica.git/commitdiff
Only proxify images
authorMichael <heluecht@pirati.ca>
Sun, 27 Jun 2021 19:06:05 +0000 (19:06 +0000)
committerMichael <heluecht@pirati.ca>
Sun, 27 Jun 2021 19:06:05 +0000 (19:06 +0000)
src/Factory/Api/Mastodon/Attachment.php

index 3b3508481b86a4ed7e284404f2b337320bb71ceb..f073ac1575e9dcb294b2e5da14eb860d0447d267 100644 (file)
@@ -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);