Terms&Conditions (#18):
* new settings for instance's terms * new channel option for channel's terms
This commit is contained in:
@ -148,6 +148,14 @@ function initChatSettings ({ registerSetting }: RegisterServerOptions): void {
|
||||
private: true,
|
||||
descriptionHTML: loc('chat_title')
|
||||
})
|
||||
registerSetting({
|
||||
name: 'chat-terms',
|
||||
private: true,
|
||||
label: loc('chat_terms_label'),
|
||||
type: 'input-textarea',
|
||||
default: '',
|
||||
descriptionHTML: loc('chat_terms_description')
|
||||
})
|
||||
registerSetting({
|
||||
name: 'prosody-list-rooms',
|
||||
label: loc('list_rooms_label'),
|
||||
|
Reference in New Issue
Block a user