Skip to content

Commit

Permalink
api/notes/_note.rss.builder: Do not expose display name of deleted users
Browse files Browse the repository at this point in the history
  • Loading branch information
grekko committed Feb 7, 2024
1 parent be401ae commit 5f4a414
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 if note.author && !note.author.deleted?

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

0 comments on commit 5f4a414

Please sign in to comment.