]> git.mxchange.org Git - friendica.git/blobdiff - src/Protocol/Feed.php
Merge remote-tracking branch 'upstream/2021.09-rc' into user-contact
[friendica.git] / src / Protocol / Feed.php
index 8c0d1f96f8f5b9bdee4787ffc42fe0c2867e29dc..2dae7ea9e8d8553da6afdead3378b0a19550c86f 100644 (file)
@@ -965,7 +965,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", Contact::getAvatarUrlForId($owner['id'], Proxy::SIZE_SMALL, $owner['updated']));
+               XML::addElement($doc, $root, "logo", User::getAvatarUrlForId($owner['uid'], Proxy::SIZE_SMALL));
                XML::addElement($doc, $root, "updated", DateTimeFormat::utcNow(DateTimeFormat::ATOM));
 
                $author = self::addAuthor($doc, $owner);