forked from AkkomaGang/akkoma
Apply 3 suggestion(s) to 3 file(s)
This commit is contained in:
parent
b001237b79
commit
77bca41595
3 changed files with 3 additions and 3 deletions
|
@ -1232,7 +1232,7 @@ defp object_to_user_data(data) 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"
|
||||
|
||||
|
|
|
@ -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" => []
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue