Allow disabling Chats feature
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
parent
0a076443ad
commit
4aa0d5d709
9 changed files with 54 additions and 8 deletions
|
|
@ -979,6 +979,8 @@ config :pleroma, :database_config_whitelist, [
|
|||
{:web_push_encryption, :vapid_details}
|
||||
]
|
||||
|
||||
config :pleroma, Pleroma.Chat, enabled: true
|
||||
|
||||
# Import environment specific config. This must remain at the bottom
|
||||
# of this file so it overrides the configuration defined above.
|
||||
import_config "#{Mix.env()}.exs"
|
||||
|
|
|
|||
|
|
@ -2726,6 +2726,19 @@ config :pleroma, :config_description, [
|
|||
}
|
||||
]
|
||||
},
|
||||
%{
|
||||
group: :pleroma,
|
||||
key: Pleroma.Chat,
|
||||
type: :group,
|
||||
description: "Pleroma Chat settings",
|
||||
children: [
|
||||
%{
|
||||
key: :enabled,
|
||||
type: :boolean,
|
||||
description: "Enables the backend chats API."
|
||||
}
|
||||
]
|
||||
},
|
||||
%{
|
||||
group: :pleroma,
|
||||
key: :http,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue