From 6ad203337496ed8c74ac6eaa3f4a9943afd3c50a Mon Sep 17 00:00:00 2001 From: Jonathan de Jong Date: Fri, 27 Oct 2023 13:35:08 +0200 Subject: [PATCH] fix bug where remote suspension causes local to remote remote follows --- app/services/suspend_account_service.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/services/suspend_account_service.rb b/app/services/suspend_account_service.rb index e79c2d3d81..51b4ee454c 100644 --- a/app/services/suspend_account_service.rb +++ b/app/services/suspend_account_service.rb @@ -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