Possibility to configure an OpenID Connect provider on the instance
level WIP (#128) Fix chat federation.
This commit is contained in:
@ -88,6 +88,12 @@ function sanitizePeertubeLiveChatServerInfos (
|
||||
muc
|
||||
}
|
||||
|
||||
// This comes with livechat >= 9.0.0, can be absent.
|
||||
const external = _validateHost(xmppserver.external, checkHost)
|
||||
if (external) {
|
||||
r.external = external
|
||||
}
|
||||
|
||||
if (xmppserver.directs2s) {
|
||||
if ((typeof xmppserver.directs2s) === 'object') {
|
||||
const port = xmppserver.directs2s.port
|
||||
|
Reference in New Issue
Block a user