From dd5e724c3ffb8d7dc5fac701c5f4c38ee41588d8 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Mon, 10 Oct 2016 15:08:24 +0200 Subject: [PATCH] Fix reblog mentions Atom --- app/helpers/atom_builder_helper.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/helpers/atom_builder_helper.rb b/app/helpers/atom_builder_helper.rb index 3435625691..8ec77d7cab 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|