]> git.mxchange.org Git - friendica.git/commitdiff
Change logo path
authorMichael <heluecht@pirati.ca>
Wed, 30 Jun 2021 20:00:57 +0000 (20:00 +0000)
committerMichael <heluecht@pirati.ca>
Wed, 30 Jun 2021 20:00:57 +0000 (20:00 +0000)
src/Protocol/OStatus.php

index 87be32fcd658312c4cde091772df47012bcccbb9..919f327b8902e0941946fd10102703371f9336f2 100644 (file)
@@ -1272,7 +1272,7 @@ class OStatus
                XML::addElement($doc, $root, "id", DI::baseUrl() . "/profile/" . $owner["nick"]);
                XML::addElement($doc, $root, "title", $title);
                XML::addElement($doc, $root, "subtitle", sprintf("Updates from %s on %s", $owner["name"], DI::config()->get('config', 'sitename')));
-               XML::addElement($doc, $root, "logo", $owner["photo"]);
+               XML::addElement($doc, $root, "logo", Contact::getAvatarUrlForId($owner['id'], ProxyUtils::SIZE_SMALL, $owner['updated']));
                XML::addElement($doc, $root, "updated", DateTimeFormat::utcNow(DateTimeFormat::ATOM));
 
                $author = self::addAuthor($doc, $owner, true);