Include actual accepts_chat_messages in source field
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
parent
efb43a02fa
commit
6ffa90a42a
2 changed files with 2 additions and 1 deletions
|
|
@ -2735,7 +2735,7 @@ config :pleroma, :config_description, [
|
|||
%{
|
||||
key: :enabled,
|
||||
type: :boolean,
|
||||
description: "Enables the backend chats API."
|
||||
description: "Enables the chats API."
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
|
|||
|
|
@ -393,6 +393,7 @@ defmodule Pleroma.Web.MastodonAPI.AccountView do
|
|||
|> Kernel.put_in([:source, :pleroma, :show_role], user.show_role)
|
||||
|> Kernel.put_in([:source, :pleroma, :no_rich_text], user.no_rich_text)
|
||||
|> Kernel.put_in([:source, :pleroma, :show_birthday], user.show_birthday)
|
||||
|> Kernel.put_in([:source, :pleroma, :accepts_chat_messages], user.accepts_chat_messages)
|
||||
end
|
||||
|
||||
defp maybe_put_settings(data, _, _, _), do: data
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue