Skip to content

Commit 4e1260f

Browse files
ClearlyClaireGargron
authored andcommitted
Fix BlockService trying to reject incorrect follow request (#11288)
Fixes #11148
1 parent 4e8dcc5 commit 4e1260f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/services/block_service.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ def call(account, target_account)
88

99
UnfollowService.new.call(account, target_account) if account.following?(target_account)
1010
UnfollowService.new.call(target_account, account) if target_account.following?(account)
11-
RejectFollowService.new.call(account, target_account) if target_account.requested?(account)
11+
RejectFollowService.new.call(target_account, account) if target_account.requested?(account)
1212

1313
block = account.block!(target_account)
1414

0 commit comments

Comments
 (0)