Builtin Prosody: optional settings to change the url for Prosody's API calls.

This commit is contained in:
John Livingston
2021-06-22 13:23:01 +02:00
parent a526feac19
commit 6608480826
5 changed files with 28 additions and 4 deletions

View File

@ -40,6 +40,7 @@ function register ({ registerHook, registerSettingsScript, peertubeHelpers }: Re
case 'chat-type-help-disabled':
return options.formValues['chat-type'] !== ('disabled' as ChatType)
case 'prosody-port':
case 'prosody-peertube-uri':
case 'chat-type-help-builtin-prosody':
return options.formValues['chat-type'] !== ('builtin-prosody' as ChatType)
case 'chat-server':