Skip to content
Snippets Groups Projects
Commit 78137929 authored by Eugen Rochko's avatar Eugen Rochko
Browse files

Fix #20, reblogs in Atom should be formatted correctly now

parent f14f462e
No related branches found
No related tags found
No related merge requests found
......@@ -190,9 +190,13 @@ module AtomBuilderHelper
link_avatar xml, stream_entry.target
end
# Statuses have content
# Statuses have content and author
if [:note, :comment].include? stream_entry.target.object_type
content xml, conditionally_formatted(stream_entry.target)
author(xml) do
include_author xml, stream_entry.target.account
end
end
end
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment