mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-14 02:44:13 +00:00
Fix #20, reblogs in Atom should be formatted correctly now
This commit is contained in:
parent
f14f462eaf
commit
78137929e6
|
@ -190,9 +190,13 @@ module AtomBuilderHelper
|
||||||
link_avatar xml, stream_entry.target
|
link_avatar xml, stream_entry.target
|
||||||
end
|
end
|
||||||
|
|
||||||
# Statuses have content
|
# 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)
|
||||||
|
|
||||||
|
author(xml) do
|
||||||
|
include_author xml, stream_entry.target.account
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue