diff --git a/app/helpers/atom_builder_helper.rb b/app/helpers/atom_builder_helper.rb index 34356256..8ec77d7c 100644 --- a/app/helpers/atom_builder_helper.rb +++ b/app/helpers/atom_builder_helper.rb @@ -178,8 +178,8 @@ module AtomBuilderHelper include_author xml, stream_entry.target.account end - stream_entry.target.mentions.each do |mentioned| - link_mention xml, mentioned + stream_entry.target.mentions.each do |mention| + link_mention xml, mention.account end stream_entry.target.media_attachments.each do |media|