Chat Federation WIP:

Found that net.websocket is not appropriate.
This commit is a proof of concept. It has to be cleaned.
Still not working, but close!
This commit is contained in:
John Livingston
2023-05-22 14:37:08 +02:00
parent cd3afe2b26
commit 5a945a0cb7
3 changed files with 205 additions and 10 deletions

View File

@ -296,6 +296,8 @@ class ProsodyConfigContent {
this.global.set('peertubelivechat_instance_url', publicServerUrl)
this.global.add('modules_enabled', 'websocket_s2s_peertubelivechat')
// FIXME: seems to be necessary to add the module on the muc host, so that dialback can trigger route/remote.
this.muc.add('modules_enabled', 'websocket_s2s_peertubelivechat')
this.muc.add('modules_enabled', 'dialback') // This allows s2s connections without certicicates!
this.authenticated?.add('modules_enabled', 'dialback') // This allows s2s connections without certicicates!