mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-21 12:05:07 +01:00
Remove item titles from RSS feeds (#18640)
This commit is contained in:
parent
fe2d6fe105
commit
620b70c41e
@ -9,7 +9,6 @@ RSS::Builder.build do |doc|
|
|||||||
|
|
||||||
@statuses.each do |status|
|
@statuses.each do |status|
|
||||||
doc.item do |item|
|
doc.item do |item|
|
||||||
item.title(l(status.created_at))
|
|
||||||
item.link(ActivityPub::TagManager.instance.url_for(status))
|
item.link(ActivityPub::TagManager.instance.url_for(status))
|
||||||
item.pub_date(status.created_at)
|
item.pub_date(status.created_at)
|
||||||
item.description(rss_status_content_format(status))
|
item.description(rss_status_content_format(status))
|
||||||
|
@ -7,7 +7,6 @@ RSS::Builder.build do |doc|
|
|||||||
|
|
||||||
@statuses.each do |status|
|
@statuses.each do |status|
|
||||||
doc.item do |item|
|
doc.item do |item|
|
||||||
item.title(l(status.created_at))
|
|
||||||
item.link(ActivityPub::TagManager.instance.url_for(status))
|
item.link(ActivityPub::TagManager.instance.url_for(status))
|
||||||
item.pub_date(status.created_at)
|
item.pub_date(status.created_at)
|
||||||
item.description(rss_status_content_format(status))
|
item.description(rss_status_content_format(status))
|
||||||
|
Loading…
Reference in New Issue
Block a user