about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-03-22 09:49:54 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-03-22 09:49:54 +0100
commit12d1d9dd808b26b3257d93f61c8e1f2f45605ebb (patch)
treea4e0a3cfc76a3e7ddf1538a5b4f2838f9f81ec51
parent78137929e639d174fdc3d4fe8dcf643321b7dfb2 (diff)
Reblogs in Atom feeds now have published, updated, and activity:verb. Still related to #20
-rw-r--r--app/helpers/atom_builder_helper.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/app/helpers/atom_builder_helper.rb b/app/helpers/atom_builder_helper.rb
index 132ea1573..da34f1854 100644
--- a/app/helpers/atom_builder_helper.rb
+++ b/app/helpers/atom_builder_helper.rb
@@ -192,7 +192,10 @@ module AtomBuilderHelper
 
         # Statuses have content and author
         if [:note, :comment].include? stream_entry.target.object_type
-          content xml, conditionally_formatted(stream_entry.target)
+          content      xml, conditionally_formatted(stream_entry.target)
+          verb         xml, stream_entry.target.verb
+          published_at xml, stream_entry.target.created_at
+          updated_at   xml, stream_entry.target.updated_at
 
           author(xml) do
             include_author xml, stream_entry.target.account