X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FProtocol%2FFeed.php;h=42f470e23f1ba01f2b33bd48c592ccb8658201c7;hb=b84c68f02455ea6d2a4384229535c45d6426fe4b;hp=ebd6f5ed3008ddf1f569d55b78ec08501092cbac;hpb=4b12c543455686587565866882dc68b803d30ed2;p=friendica.git diff --git a/src/Protocol/Feed.php b/src/Protocol/Feed.php index ebd6f5ed30..42f470e23f 100644 --- a/src/Protocol/Feed.php +++ b/src/Protocol/Feed.php @@ -39,6 +39,7 @@ use Friendica\Model\User; use Friendica\Util\DateTimeFormat; use Friendica\Util\Network; use Friendica\Util\ParseUrl; +use Friendica\Util\Proxy; use Friendica\Util\Strings; use Friendica\Util\XML; @@ -957,7 +958,7 @@ class Feed 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'], Proxy::SIZE_SMALL, $owner['updated'])); XML::addElement($doc, $root, "updated", DateTimeFormat::utcNow(DateTimeFormat::ATOM)); $author = self::addAuthor($doc, $owner);