MastoAPI: Show source field when deleting

This commit is contained in:
Haelwenn (lanodan) Monnier 2020-06-26 07:16:24 +02:00
commit 244655e884
No known key found for this signature in database
GPG key ID: D5B7A8E43C997DEE
7 changed files with 28 additions and 8 deletions

View file

@ -67,6 +67,7 @@ defmodule Pleroma.Factory do
data = %{
"type" => "Note",
"content" => text,
"source" => text,
"id" => Pleroma.Web.ActivityPub.Utils.generate_object_id(),
"actor" => user.ap_id,
"to" => ["https://www.w3.org/ns/activitystreams#Public"],