Commit a50b0f33 authored by Yassine Doghri's avatar Yassine Doghri
Browse files

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

parent b797a08f
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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);