mirror of https://github.com/mastodon/mastodon
Update atom_builder_helper.rb
This commit is contained in:
parent
e10998b64e
commit
e701a46e06
|
@ -207,6 +207,7 @@ module AtomBuilderHelper
|
|||
end
|
||||
|
||||
category(xml, 'nsfw') if stream_entry.target.sensitive?
|
||||
category(xml, 'no_reblog') if stream_entry.target.no_reblog?
|
||||
end
|
||||
end
|
||||
end
|
||||
|
@ -228,6 +229,8 @@ module AtomBuilderHelper
|
|||
end
|
||||
|
||||
category(xml, 'nsfw') if stream_entry.activity.sensitive?
|
||||
category(xml, 'no_reblog') if stream_entry.activity.no_reblog?
|
||||
|
||||
end
|
||||
|
||||
private
|
||||
|
|
Loading…
Reference in New Issue