mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-11-18 21:03:27 +00:00
Reblogs in Atom feeds now have published, updated, and activity:verb. Still related to #20
This commit is contained in:
parent
78137929e6
commit
12d1d9dd80
|
@ -192,7 +192,10 @@ module AtomBuilderHelper
|
||||||
|
|
||||||
# Statuses have content and author
|
# Statuses have content and author
|
||||||
if [:note, :comment].include? stream_entry.target.object_type
|
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
|
author(xml) do
|
||||||
include_author xml, stream_entry.target.account
|
include_author xml, stream_entry.target.account
|
||||||
|
|
Loading…
Reference in a new issue