mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-01-30 19:42:57 -05:00
Fix bug where remote suspension causes local instance to remove remote follows (#27588)
This commit is contained in:
parent
d6241f6751
commit
315c170910
@ -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…
x
Reference in New Issue
Block a user