Fix media size
This commit is contained in:
parent
98dd4e889a
commit
b46ad72651
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue