Make sure incoming flags are updated with status data

This commit is contained in:
Maxim Filippov 2019-10-27 16:17:37 +03:00
parent 791bcfd90f
commit 8282b6ac3d
1 changed files with 1 additions and 1 deletions

View File

@ -1102,7 +1102,7 @@ test "it accepts Flag activities" do
message = %{ message = %{
"@context" => "https://www.w3.org/ns/activitystreams", "@context" => "https://www.w3.org/ns/activitystreams",
"cc" => [user.ap_id], "cc" => [user.ap_id],
"object" => [user.ap_id, activity], "object" => [user.ap_id, activity.data["id"]],
"type" => "Flag", "type" => "Flag",
"content" => "blocked AND reported!!!", "content" => "blocked AND reported!!!",
"actor" => other_user.ap_id "actor" => other_user.ap_id