about summary refs log tree commit diff
path: root/app/helpers
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-10-10 15:08:24 +0200
committerEugen Rochko <eugen@zeonfederated.com>2016-10-10 15:08:24 +0200
commitdd5e724c3ffb8d7dc5fac701c5f4c38ee41588d8 (patch)
tree5618524531b3ff259858a3cb17b34e872284b4b9 /app/helpers
parentf249a8c187226c02463e1f91c716cff5ba4b4080 (diff)
Fix reblog mentions Atom
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|