From: Eugen Rochko Date: Mon, 10 Oct 2016 13:08:24 +0000 (+0200) Subject: Fix reblog mentions Atom X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=dd5e724c3ffb8d7dc5fac701c5f4c38ee41588d8;p=mastodon.git Fix reblog mentions Atom --- 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|