Removed the settings «Chats are only available for local videos».

From now on, webchat can only be activated for local videos.
It will never be displayed on remote videos.
This is because an incompatibility with a new feature (webchat per channel).
Moreover this feature was very limited: the webchat was not shared with the remote instance (this will probably be achieved in a future release).
This commit is contained in:
John Livingston
2021-08-05 18:45:06 +02:00
parent 14a87be859
commit 0e14ec6649
6 changed files with 10 additions and 35 deletions

View File

@ -6,7 +6,6 @@ export async function diagVideo (test: string, { settingsManager }: RegisterServ
const videoSettings = await settingsManager.getSettings([
'chat-auto-display',
'chat-open-blank',
'chat-only-locals',
'chat-per-live-video',
'chat-all-lives',
'chat-all-non-lives',
@ -22,10 +21,6 @@ export async function diagVideo (test: string, { settingsManager }: RegisterServ
result.messages.push('Displaying «open in new window» button')
}
if (videoSettings['chat-only-locals']) {
result.messages.push('Chat will only be available for local videos')
}
let atLeastOne: boolean = false
if (videoSettings['chat-per-live-video']) {
result.messages.push('Chat can be enabled on live videos.')