Chat can be enabled in video properties.

This commit is contained in:
John Livingston
2021-06-08 18:08:58 +02:00
parent 07b7f4d732
commit 385a0074c1
11 changed files with 154 additions and 16 deletions

View File

@ -7,6 +7,7 @@ export async function diagVideo (test: string, { settingsManager }: RegisterServ
'chat-auto-display',
'chat-open-blank',
'chat-only-locals',
'chat-per-live-video',
'chat-all-lives',
'chat-all-non-lives',
'chat-videos-list'
@ -26,6 +27,10 @@ export async function diagVideo (test: string, { settingsManager }: RegisterServ
}
let atLeastOne: boolean = false
if (videoSettings['chat-per-live-video']) {
result.messages.push('Chat can be enabled on live videos.')
atLeastOne = true
}
if (videoSettings['chat-all-lives']) {
result.messages.push('Chat is enabled for all lives.')
atLeastOne = true