XMPP clients connections WIP

This commit is contained in:
John Livingston 2023-04-10 19:01:41 +02:00 committed by John Livingston
parent 4a28991497
commit d544a53b38
3 changed files with 4 additions and 0 deletions

View File

@ -46,6 +46,7 @@ AppDir:
- lua-event
# lua-zlib is suggested. Not sure it is used, by make sense to add.
- lua-zlib
- lua-sec
- prosody
files:

View File

@ -40,6 +40,7 @@ AppDir:
- lua-event
# lua-zlib is suggested. Not sure it is used, by make sense to add.
- lua-zlib
- lua-sec
- prosody/bullseye-backports
files:

View File

@ -260,7 +260,9 @@ class ProsodyConfigContent {
useRoomS2S (s2sPort: string, s2sInterfaces: string[]): void {
this.global.set('s2s_ports', [s2sPort])
this.global.set('s2s_interfaces', s2sInterfaces)
this.global.set('s2s_secure_auth', false)
this.muc.add('modules_enabled', 's2s')
this.muc.add('modules_enabled', 'dialback') // This allows s2s connections without certicicates!
}
useExternalComponents (componentsPort: string, components: ExternalComponent[]): void {