ForceBotUnlistedPolicy: format

This commit is contained in:
Alibek Omarov 2020-09-07 22:53:45 +02:00 committed by Gitea
parent 57cf0cc3b3
commit 8b695c3eeb
2 changed files with 21 additions and 20 deletions

View File

@ -15,7 +15,8 @@ defp generate_messages(actor) do
"object" => %{}, "object" => %{},
"to" => [@public, "f"], "to" => [@public, "f"],
"cc" => [actor.follower_address, "d"] "cc" => [actor.follower_address, "d"]
}, %{ },
%{
"actor" => actor.ap_id, "actor" => actor.ap_id,
"type" => "Create", "type" => "Create",
"object" => %{"to" => ["f", actor.follower_address], "cc" => ["d", @public]}, "object" => %{"to" => ["f", actor.follower_address], "cc" => ["d", @public]},