Browse Source

Reblogs in Atom feeds now have published, updated, and activity:verb. Still related to #20

closed-social-glitch-2
Eugen Rochko 8 years ago
parent
commit
12d1d9dd80
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      app/helpers/atom_builder_helper.rb

+ 4
- 1
app/helpers/atom_builder_helper.rb View 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

Loading…
Cancel
Save