Skip to content

Commit

Permalink
Removes note's author from RSS
Browse files Browse the repository at this point in the history
Removes writing note's author to note's RSS if note's author is deleted.
  • Loading branch information
nenad-vujicic committed Jan 28, 2025
1 parent af5ed10 commit b59e204
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/api/notes/_note.rss.builder
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ xml.item do
xml.guid api_note_url(note)
xml.description render(:partial => "description", :object => note, :formats => [:html])

xml.dc :creator, note.author.display_name if note.author
xml.dc :creator, note.author.display_name unless note.author.nil? || note.author_deleted?

xml.pubDate note.created_at.to_fs(:rfc822)
xml.geo :lat, note.lat
Expand Down

0 comments on commit b59e204

Please sign in to comment.