{Answer,Question}Validator: Keep both actor and attributedTo for now but sync them

This commit is contained in:
Haelwenn (lanodan) Monnier 2020-06-26 00:07:43 +02:00
commit bfe2dafd39
No known key found for this signature in database
GPG key ID: D5B7A8E43C997DEE
6 changed files with 39 additions and 7 deletions

View file

@ -120,6 +120,7 @@ defmodule Pleroma.Web.ActivityPub.Builder do
%{
"type" => "Answer",
"actor" => user.ap_id,
"attributedTo" => user.ap_id,
"cc" => [object.data["actor"]],
"to" => [],
"name" => name,