From edfabe44dafe84a6936d1d9957db1d8857a1d4d7 Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Thu, 9 May 2019 09:58:37 -0500 Subject: Statuses: set `local_only` flag from the `PostStatusService`. Default to `en` locale for statuses. --- app/models/status.rb | 2 -- 1 file changed, 2 deletions(-) (limited to 'app/models') diff --git a/app/models/status.rb b/app/models/status.rb index 1141d3f4f..0b26e4605 100644 --- a/app/models/status.rb +++ b/app/models/status.rb @@ -569,8 +569,6 @@ class Status < ApplicationRecord def set_locality if account.domain.nil? && !attribute_changed?(:local_only) self.local_only = marked_local_only? - self.local_only ||= account.user.setting_always_local - self.local_only ||= reply? && Status.where(id: in_reply_to_id, local_only: true).exists? end end -- cgit