Fix bug where remote suspension causes local instance to remove remote follows (#27588)

pull/33264/head
Jonathan de Jong 3 months ago committed by GitHub
parent d6241f6751
commit 315c170910
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -20,7 +20,7 @@ class SuspendAccountService < BaseService
private
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
# actually become suspended on its origin server, i.e. unlike a

Loading…
Cancel
Save