|
|
|
@ -364,8 +364,6 @@ class OStatus::AtomSerializer
|
|
|
|
|
append_element(entry, 'category', nil, term: tag.name)
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
append_element(entry, 'category', nil, term: 'nsfw') if status.sensitive?
|
|
|
|
|
|
|
|
|
|
status.media_attachments.each do |media|
|
|
|
|
|
append_element(entry, 'link', nil, rel: :enclosure, type: media.file_content_type, length: media.file_file_size, href: full_asset_url(media.file.url(:original, false)))
|
|
|
|
|
end
|
|
|
|
|