mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-21 12:05:07 +01:00
parent
911338bdcc
commit
95bcbaa434
@ -39,7 +39,7 @@ class AtomSerializer
|
|||||||
add_namespaces(feed)
|
add_namespaces(feed)
|
||||||
|
|
||||||
append_element(feed, 'id', account_url(account, format: 'atom'))
|
append_element(feed, 'id', account_url(account, format: 'atom'))
|
||||||
append_element(feed, 'title', account.display_name)
|
append_element(feed, 'title', account.display_name.presence || account.username)
|
||||||
append_element(feed, 'subtitle', account.note)
|
append_element(feed, 'subtitle', account.note)
|
||||||
append_element(feed, 'updated', account.updated_at.iso8601)
|
append_element(feed, 'updated', account.updated_at.iso8601)
|
||||||
append_element(feed, 'logo', full_asset_url(account.avatar.url(:original)))
|
append_element(feed, 'logo', full_asset_url(account.avatar.url(:original)))
|
||||||
|
Loading…
Reference in New Issue
Block a user