XMPP clients connections WIP:

* new option to allow external xmpp account s2s connections
* settings to setup the port and network interfaces
* documentation WIP

Related to issue #114
This commit is contained in:
John Livingston
2023-04-07 18:27:15 +02:00
committed by John Livingston
parent c81c2eb9bb
commit 4d9d9d39b0
14 changed files with 212 additions and 2 deletions

View File

@ -257,6 +257,12 @@ class ProsodyConfigContent {
this.global.set('c2s_ports', [c2sPort])
}
useRoomS2S (s2sPort: string, s2sInterfaces: string[]): void {
this.global.set('s2s_ports', [s2sPort])
this.global.set('s2s_interfaces', s2sInterfaces)
this.muc.add('modules_enabled', 's2s')
}
useExternalComponents (componentsPort: string, components: ExternalComponent[]): void {
this.global.set('component_ports', [componentsPort])
this.global.set('component_interfaces', ['127.0.0.1', '::1'])