From 6c3e718b863c086f2df4152548531d91073ca087 Mon Sep 17 00:00:00 2001 From: Matt Jankowski Date: Thu, 14 Mar 2024 09:56:59 -0400 Subject: [PATCH] Remove setting of `sensitive` value (default false, not null) in Status model (#29589) --- app/models/status.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/app/models/status.rb b/app/models/status.rb index a9c0ea70f..c8effd3da 100644 --- a/app/models/status.rb +++ b/app/models/status.rb @@ -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