Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
kiritan-pop committed Sep 23, 2023
1 parent 61badc8 commit b05efda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/status.rb
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ def trigger_update_webhooks
end

def set_locality
return if account.domain | will_save_change_to_attribute?(:local_only)
return if account.domain || will_save_change_to_attribute?(:local_only)

self.local_only = marked_local_only?
end
Expand Down

0 comments on commit b05efda

Please sign in to comment.