]> git.mxchange.org Git - friendica.git/commitdiff
Fix media size
authorMichael <heluecht@pirati.ca>
Wed, 30 Jun 2021 19:55:28 +0000 (19:55 +0000)
committerMichael <heluecht@pirati.ca>
Wed, 30 Jun 2021 19:55:28 +0000 (19:55 +0000)
src/Protocol/OStatus.php

index 38777d70960ba8484042ff59c1ca1d34de834cb3..87be32fcd658312c4cde091772df47012bcccbb9 100644 (file)
@@ -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);