Issue 10720: Use different path scheme for user avatars

This commit is contained in:
Michael 2021-09-17 18:36:20 +00:00
parent 9b19fb9b4d
commit a91e3f5dbc
12 changed files with 84 additions and 34 deletions

View file

@ -449,7 +449,7 @@ class DFRN
$attributes = ["rel" => "photo", "type" => "image/jpeg",
"media:width" => Proxy::PIXEL_SMALL, "media:height" => Proxy::PIXEL_SMALL,
"href" => Contact::getAvatarUrlForId($owner['id'], Proxy::SIZE_SMALL, $owner['updated'])];
"href" => User::getAvatarUrlForId($owner['uid'], Proxy::SIZE_SMALL)];
if (!$public || !$hide) {
$attributes["dfrn:updated"] = $picdate;