From b46ad72651ecbb5eda333d10079eefcd971fe2e4 Mon Sep 17 00:00:00 2001 From: Michael Date: Wed, 30 Jun 2021 19:55:28 +0000 Subject: [PATCH] Fix media size --- src/Protocol/OStatus.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Protocol/OStatus.php b/src/Protocol/OStatus.php index 38777d7096..87be32fcd6 100644 --- a/src/Protocol/OStatus.php +++ b/src/Protocol/OStatus.php @@ -1427,8 +1427,8 @@ class OStatus $attributes = [ "rel" => "avatar", "type" => "image/jpeg", // To-Do? - "media:width" => ProxyUtils::SIZE_SMALL, - "media:height" => ProxyUtils::SIZE_SMALL, + "media:width" => ProxyUtils::PIXEL_SMALL, + "media:height" => ProxyUtils::PIXEL_SMALL, "href" => Contact::getAvatarUrlForId($owner['id'], ProxyUtils::SIZE_SMALL, $owner['updated'])]; XML::addElement($doc, $author, "link", "", $attributes);