Remove "nsfw" category for sensitive statuses in OStatus serializer (#7048)
Fix #7011
This commit is contained in:
parent
4ca2f73b12
commit
75c4ab9d12
3 changed files with 0 additions and 10 deletions
|
@ -7,7 +7,5 @@ class ProcessHashtagsService < BaseService
|
|||
tags.map { |str| str.mb_chars.downcase }.uniq(&:to_s).each do |tag|
|
||||
status.tags << Tag.where(name: tag).first_or_initialize(name: tag)
|
||||
end
|
||||
|
||||
status.update(sensitive: true) if tags.include?('nsfw')
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue