Use correct activity id in Accept when receiving duplicate Follow (fixes #8218) (#8244)

This commit is contained in:
ThibG
2018-08-17 14:08:17 +02:00
committed by Eugen Rochko
parent 4601a58ac2
commit 1ee675d68b
2 changed files with 2 additions and 2 deletions

View File

@ -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