diff options
author | multiple creatures <dev@multiple-creature.party> | 2019-07-22 20:04:15 -0500 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2019-07-22 20:14:29 -0500 |
commit | 86f29a68fbf5344291b21253f597a914cec18f02 (patch) | |
tree | aceda975c6666ae760e118ce0a2bb11c2f7fd1a7 /app/lib/activitypub/activity/accept.rb | |
parent | d82d7e0b2b7f03e17739f511b2f7dd21fac4342f (diff) |
allow autorejecting incoming ap activities by `id`, `@context`, and domain + autoject suspended domains & their subdomains
Diffstat (limited to 'app/lib/activitypub/activity/accept.rb')
-rw-r--r-- | app/lib/activitypub/activity/accept.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/lib/activitypub/activity/accept.rb b/app/lib/activitypub/activity/accept.rb index 348ee0d1c..525d4ffd6 100644 --- a/app/lib/activitypub/activity/accept.rb +++ b/app/lib/activitypub/activity/accept.rb @@ -11,6 +11,7 @@ class ActivityPub::Activity::Accept < ActivityPub::Activity private def accept_follow + return if autoreject? return accept_follow_for_relay if relay_follow? target_account = account_from_uri(target_uri) |