From: Eugen Rochko Date: Tue, 22 Mar 2016 08:03:03 +0000 (+0100) Subject: Fix #20, reblogs in Atom should be formatted correctly now X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=78137929e639d174fdc3d4fe8dcf643321b7dfb2;p=mastodon.git Fix #20, reblogs in Atom should be formatted correctly now --- diff --git a/app/helpers/atom_builder_helper.rb b/app/helpers/atom_builder_helper.rb index b9eb79fbd..132ea1573 100644 --- a/app/helpers/atom_builder_helper.rb +++ b/app/helpers/atom_builder_helper.rb @@ -190,9 +190,13 @@ module AtomBuilderHelper link_avatar xml, stream_entry.target end - # Statuses have content + # Statuses have content and author if [:note, :comment].include? stream_entry.target.object_type content xml, conditionally_formatted(stream_entry.target) + + author(xml) do + include_author xml, stream_entry.target.account + end end end end