Fix #97 #54: Settings to hide the chat for anonymous users

This commit is contained in:
John Livingston
2022-04-11 18:12:12 +02:00
parent d24ef987a0
commit 01a052d380
6 changed files with 59 additions and 14 deletions

View File

@ -272,6 +272,14 @@ You can add comments: everything after the # character will be stripped off, and
Don't add private videos, the UUIDs will be send to frontend.`,
private: false
})
registerSetting({
name: 'chat-no-anonymous',
label: 'Hide the chat for anonymous users',
type: 'input-checkbox',
default: false,
descriptionHTML: 'If checked, anonymous Peertube users won\'t see the chat.',
private: false
})
registerSetting({
name: 'chat-style',