Merge pull request #10721 from annando/issue-10720-avatar

Issue 10720: Use different path scheme for user avatars
This commit is contained in:
Hypolite Petovan
2021-09-18 09:30:08 -04:00
committed by GitHub
12 changed files with 84 additions and 34 deletions
+1 -1
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;