mirror of
https://github.com/mastodon/mastodon.git
synced 2024-08-20 21:08:15 -07:00
Remove setting of sensitive
value (default false, not null) in Status model (#29589)
This commit is contained in:
parent
974c7672e5
commit
6c3e718b86
1 changed files with 0 additions and 1 deletions
|
@ -442,7 +442,6 @@ class Status < ApplicationRecord
|
|||
def set_visibility
|
||||
self.visibility = reblog.visibility if reblog? && visibility.nil?
|
||||
self.visibility = (account.locked? ? :private : :public) if visibility.nil?
|
||||
self.sensitive = false if sensitive.nil?
|
||||
end
|
||||
|
||||
def set_conversation
|
||||
|
|
Loading…
Reference in a new issue