diff --git a/app/controllers/statuses_controller.rb b/app/controllers/statuses_controller.rb index a2b5037f56aa5d..be87161cc8c631 100644 --- a/app/controllers/statuses_controller.rb +++ b/app/controllers/statuses_controller.rb @@ -78,14 +78,14 @@ def misskey_software? @misskey_software = false - return false if !@status.local? || signed_request_account&.domain.blank? + return false if !@status.local? || signed_request_account&.domain.blank? || !@status.sending_maybe_compromised_privacy? return @misskey_software = true if DomainBlock.detect_invalid_subscription?(signed_request_account.domain) info = InstanceInfo.find_by(domain: signed_request_account.domain) return false if info.nil? - @misskey_software = %w(misskey calckey cherrypick sharkey).include?(info.software) && @status.sending_maybe_compromised_privacy? + @misskey_software = %w(misskey calckey cherrypick sharkey).include?(info.software) end def status_activity_serializer