diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2018-12-29 02:24:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-29 02:24:36 +0100 |
commit | 0f938ff29c2e9bf92e3eb9c23be8d4ba3a1b97f7 (patch) | |
tree | a7f9cb2672014b95f77f1a9fe802009f889574e0 /app/lib/activitypub/activity/follow.rb | |
parent | 9b475a4838abc6143e26776816280e16abfc6193 (diff) |
Add handler for Move activity (#9629)
Diffstat (limited to 'app/lib/activitypub/activity/follow.rb')
-rw-r--r-- | app/lib/activitypub/activity/follow.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/lib/activitypub/activity/follow.rb b/app/lib/activitypub/activity/follow.rb index c45832648..7ca650fdf 100644 --- a/app/lib/activitypub/activity/follow.rb +++ b/app/lib/activitypub/activity/follow.rb @@ -6,7 +6,7 @@ class ActivityPub::Activity::Follow < ActivityPub::Activity return if target_account.nil? || !target_account.local? || delete_arrived_first?(@json['id']) || @account.requested?(target_account) - if target_account.blocking?(@account) || target_account.domain_blocking?(@account.domain) + if target_account.blocking?(@account) || target_account.domain_blocking?(@account.domain) || target_account.moved? reject_follow_request!(target_account) return end |