More fixes for Info schema.
This commit is contained in:
parent
93f2dc19d9
commit
f18b86fd5f
8 changed files with 44 additions and 14 deletions
|
|
@ -23,6 +23,7 @@ defmodule Pleroma.User.Info do
|
|||
field(:uri, :string, default: nil)
|
||||
field(:topic, :string, default: nil)
|
||||
field(:hub, :string, default: nil)
|
||||
field(:salmon, :string, default: nil)
|
||||
|
||||
# Found in the wild
|
||||
# ap_id -> Where is this used?
|
||||
|
|
@ -30,11 +31,7 @@ defmodule Pleroma.User.Info do
|
|||
# avatar -> Where is this used?
|
||||
# fqn -> Where is this used?
|
||||
# host -> Where is this used?
|
||||
# name -> Where is this used?
|
||||
# nickname -> Where is this used?
|
||||
# salmon -> Where is this used?
|
||||
# subject _> Where is this used?
|
||||
# subscribe_address -> Where is this used?
|
||||
end
|
||||
|
||||
def set_activation_status(info, deactivated) do
|
||||
|
|
@ -115,7 +112,8 @@ defmodule Pleroma.User.Info do
|
|||
:magic_key,
|
||||
:uri,
|
||||
:hub,
|
||||
:topic
|
||||
:topic,
|
||||
:salmon
|
||||
])
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue