]> cat aescling's git repositories - mastodon.git/commitdiff
Fix reblog mentions Atom
authorEugen Rochko <eugen@zeonfederated.com>
Mon, 10 Oct 2016 13:08:24 +0000 (15:08 +0200)
committerEugen Rochko <eugen@zeonfederated.com>
Mon, 10 Oct 2016 13:08:24 +0000 (15:08 +0200)
app/helpers/atom_builder_helper.rb

index 3435625691941e3ae705845650c1f230c271aee2..8ec77d7cab12d37d0b0eb9ce6e3d70c04cbcd033 100644 (file)
@@ -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|