Chat Federation: first working PoC!

This commit is contained in:
John Livingston
2023-05-23 11:06:02 +02:00
parent 6fbfb8ef67
commit b525c203da
2 changed files with 5 additions and 0 deletions

View File

@ -296,6 +296,8 @@ class ProsodyConfigContent {
this.global.set('peertubelivechat_instance_url', publicServerUrl)
this.global.add('modules_enabled', 'websocket_s2s_peertubelivechat')
// s2s_close_timeout must be set accordingly with nginx timeout (30s)
this.global.set('s2s_close_timeout', 29)
// 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')