Apply 3 suggestion(s) to 3 file(s)

This commit is contained in:
feld 2020-10-14 19:33:54 +00:00
parent b001237b79
commit 77bca41595
3 changed files with 3 additions and 3 deletions

View File

@ -1232,7 +1232,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do
capabilities = data["capabilities"] || %{}
accepts_chat_messages = capabilities["acceptsChatMessages"]
data = Transmogrifier.maybe_fix_user_object(data)
is_discoverable = data["is_discoverable"] || false
is_discoverable = data["discoverable"] || false
invisible = data["invisible"] || false
actor_type = data["type"] || "Person"

View File

@ -44,7 +44,7 @@ defmodule Pleroma.Web.ApiSpec.Schemas.Chat do
"sensitive" => false,
"note" => "lain",
"pleroma" => %{
"is_discoverable" => false,
"discoverable" => false,
"actor_type" => "Person"
},
"fields" => []

View File

@ -284,7 +284,7 @@ defmodule Pleroma.Web.ApiSpec.Schemas.Status do
"source" => %{
"fields" => [],
"note" => "Tester Number 6",
"pleroma" => %{"actor_type" => "Person", "is_discoverable" => false},
"pleroma" => %{"actor_type" => "Person", "discoverable" => false},
"sensitive" => false
},
"statuses_count" => 1,