Chat federation: new settings to disable the feature.

This commit is contained in:
John Livingston
2023-04-20 12:13:22 +02:00
parent 4c138f3f5b
commit 01e7fdc9b6
10 changed files with 189 additions and 10 deletions

View File

@ -97,6 +97,29 @@ Please read
private: true
})
// ********** Federation
registerSetting({
type: 'html',
private: true,
descriptionHTML: loc('federation_description')
})
registerSetting({
name: 'federation-no-remote-chat',
label: loc('federation_no_remote_chat_label'),
descriptionHTML: loc('federation_no_remote_chat_description'),
type: 'input-checkbox',
default: false,
private: false
})
registerSetting({
name: 'federation-dont-publish-remotely',
label: loc('federation_dont_publish_remotely_label'),
descriptionHTML: loc('federation_dont_publish_remotely_description'),
type: 'input-checkbox',
default: false,
private: true
})
// ********** Chat behaviour
registerSetting({
type: 'html',