diff options
author | ThibG <thib@sitedethib.com> | 2018-08-17 14:08:17 +0200 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2018-08-17 14:08:17 +0200 |
commit | 1ee675d68bfd2034183a03408a2377c338dfac41 (patch) | |
tree | 24cf9ccf427e947cf9bfd14d56b2727b633e793d /app/lib/activitypub | |
parent | 4601a58ac24f2c97ba4934445da694ca18308b81 (diff) |
Use correct activity id in Accept when receiving duplicate Follow (fixes #8218) (#8244)
Diffstat (limited to 'app/lib/activitypub')
-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 826dcf18e..c45832648 100644 --- a/app/lib/activitypub/activity/follow.rb +++ b/app/lib/activitypub/activity/follow.rb @@ -13,7 +13,7 @@ class ActivityPub::Activity::Follow < ActivityPub::Activity # Fast-forward repeat follow requests if @account.following?(target_account) - AuthorizeFollowService.new.call(@account, target_account, skip_follow_request: true) + AuthorizeFollowService.new.call(@account, target_account, skip_follow_request: true, follow_request_uri: @json['id']) return end |