Autofix Rubocop Style/IfUnlessModifier (#23697)
This commit is contained in:
parent
9ab2a775c9
commit
e2a3ebb271
40 changed files with 55 additions and 271 deletions
|
@ -7,9 +7,7 @@ class RemoveFromFollowersService < BaseService
|
|||
source_account.passive_relationships.where(account_id: target_accounts).find_each do |follow|
|
||||
follow.destroy
|
||||
|
||||
if source_account.local? && !follow.account.local? && follow.account.activitypub?
|
||||
create_notification(follow)
|
||||
end
|
||||
create_notification(follow) if source_account.local? && !follow.account.local? && follow.account.activitypub?
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue