fix(rss): set person's avatar url to "federation" for width and height of 400px

This commit is contained in:
Yassine Doghri 2025-11-03 19:09:13 +00:00
commit a50b0f330e

View file

@ -230,7 +230,7 @@ if (! function_exists('get_rss_feed')) {
foreach ($person->roles as $role) {
$personElement = $channel->addChild('person', $person->full_name, $podcastNamespace);
$personElement->addAttribute('img', get_avatar_url($person, 'medium'));
$personElement->addAttribute('img', get_avatar_url($person, 'federation'));
if ($person->information_url !== null) {
$personElement->addAttribute('href', $person->information_url);
@ -435,7 +435,7 @@ if (! function_exists('get_rss_feed')) {
esc(lang("PersonsTaxonomy.persons.{$role->group}.label", [], 'en')),
);
$personElement->addAttribute('img', get_avatar_url($person, 'medium'));
$personElement->addAttribute('img', get_avatar_url($person, 'federation'));
if ($person->information_url !== null) {
$personElement->addAttribute('href', $person->information_url);