1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00

fix bug where remote suspension causes local to remote remote follows

This commit is contained in:
Jonathan de Jong 2023-10-27 13:35:08 +02:00
parent bbf46cc418
commit 6ad2033374

View file

@ -20,7 +20,7 @@ class SuspendAccountService < BaseService
private private
def reject_remote_follows! def reject_remote_follows!
return if @account.local? || !@account.activitypub? return if @account.local? || !@account.activitypub? || @account.suspension_origin_remote?
# When suspending a remote account, the account obviously doesn't # When suspending a remote account, the account obviously doesn't
# actually become suspended on its origin server, i.e. unlike a # actually become suspended on its origin server, i.e. unlike a