about summary refs log tree commit diff
path: root/app/helpers
diff options
context:
space:
mode:
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/atom_builder_helper.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/atom_builder_helper.rb b/app/helpers/atom_builder_helper.rb
index 343562569..8ec77d7ca 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|