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:
@ -208,8 +208,6 @@ function register ({ registerHook, registerSettingsScript, peertubeHelpers }: Re
|
||||
return options.formValues['chat-type'] !== ('external-uri' as ChatType)
|
||||
case 'chat-style':
|
||||
return options.formValues['chat-type'] === 'disabled'
|
||||
case 'chat-only-locals-warning':
|
||||
return options.formValues['chat-only-locals'] === true
|
||||
case 'chat-per-live-video-warning':
|
||||
return !(options.formValues['chat-all-lives'] === true && options.formValues['chat-per-live-video'] === true)
|
||||
}
|
||||
|
Reference in New Issue
Block a user