From 5a6c5e9a1709ed7b93d9214994d80d28e1ec744a Mon Sep 17 00:00:00 2001 From: Philipp Date: Sun, 20 Jun 2021 22:33:05 +0200 Subject: [PATCH] Fix wrong attachement index --- 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 0cb4977ee1..a447e6b8f9 100644 --- a/src/Factory/Api/Mastodon/Attachment.php +++ b/src/Factory/Api/Mastodon/Attachment.php @@ -76,7 +76,7 @@ class Attachment extends BaseFactory $preview = Proxy::proxifyUrl($attachment['url'], false, Proxy::SIZE_SMALL); } } else { - $url = Proxy::proxifyUrl($attachment['url ']); + $url = Proxy::proxifyUrl($attachment['url']); $preview = Proxy::proxifyUrl($attachment['preview'] ?? ''); }