about summary refs log tree commit diff
path: root/app/helpers
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-03-22 09:03:03 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-03-22 09:03:03 +0100
commit78137929e639d174fdc3d4fe8dcf643321b7dfb2 (patch)
treeab96943614949073665c4d7308b8ca55b0c2d91d /app/helpers
parentf14f462eaf8dcf272db54cd513bf7ffe7dc6a6e3 (diff)
Fix #20, reblogs in Atom should be formatted correctly now
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/atom_builder_helper.rb6
1 files changed, 5 insertions, 1 deletions
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