]> cat aescling's git repositories - mastodon.git/commitdiff
Reblogs in Atom feeds now have published, updated, and activity:verb. Still related...
authorEugen Rochko <eugen@zeonfederated.com>
Tue, 22 Mar 2016 08:49:54 +0000 (09:49 +0100)
committerEugen Rochko <eugen@zeonfederated.com>
Tue, 22 Mar 2016 08:49:54 +0000 (09:49 +0100)
app/helpers/atom_builder_helper.rb

index 132ea15738dba1f3f33ee7a361da723f349a8364..da34f18546bdf9e7f7ac05996f1a99130533db89 100644 (file)
@@ -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