Adding debug information in the diagnostic screen.
This commit is contained in:
parent
ddaf57b5d5
commit
b2b489af6e
@ -42,7 +42,7 @@ export async function diagConverse (test: string, { settingsManager }: RegisterS
|
|||||||
)
|
)
|
||||||
isBuiltinError = true
|
isBuiltinError = true
|
||||||
} else {
|
} else {
|
||||||
result.messages.push('Chat room is correct')
|
result.messages.push('Chat room is correct and will be: ' + chatRoom)
|
||||||
}
|
}
|
||||||
|
|
||||||
const chatBoshUri: string = (builtinSettings['chat-bosh-uri'] as string) || ''
|
const chatBoshUri: string = (builtinSettings['chat-bosh-uri'] as string) || ''
|
||||||
|
@ -8,6 +8,7 @@ export async function diagUri (test: string, { settingsManager }: RegisterServer
|
|||||||
])
|
])
|
||||||
if (/^https:\/\//.test(settings['chat-uri'] as string)) {
|
if (/^https:\/\//.test(settings['chat-uri'] as string)) {
|
||||||
result.ok = true
|
result.ok = true
|
||||||
|
result.messages.push('Chat url will be: ' + (settings['chat-uri'] as string))
|
||||||
} else {
|
} else {
|
||||||
result.messages.push('Incorrect value for the uri (it does not start with https://)')
|
result.messages.push('Incorrect value for the uri (it does not start with https://)')
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user