diff --git a/src/page-messages.pug b/src/page-messages.pug index 21f7c6d..7487d67 100644 --- a/src/page-messages.pug +++ b/src/page-messages.pug @@ -17,7 +17,7 @@ solid-xmpp-chat( data-authentication='login', data-auto-login='true', - data-bosh-service-url=`${xmpp}`, + data-websocket-url=`${xmppWebsocket || 'wss://jabber.happy-dev.fr/xmpp-websocket'}`, data-i18n='en', bind-resources ) diff --git a/src/views/circle/page-circle-chat.pug b/src/views/circle/page-circle-chat.pug index baee3eb..6431898 100644 --- a/src/views/circle/page-circle-chat.pug +++ b/src/views/circle/page-circle-chat.pug @@ -2,7 +2,7 @@ solid-xmpp-chat( data-authentication='login', data-auto-login='true', - data-bosh-service-url=`${xmpp}`, + data-websocket-url=`${xmppWebsocket || 'wss://jabber.happy-dev.fr/xmpp-websocket'}`, data-i18n='en', bind-resources ) \ No newline at end of file diff --git a/src/views/project/page-project-chat.pug b/src/views/project/page-project-chat.pug index add91ab..01a10e6 100644 --- a/src/views/project/page-project-chat.pug +++ b/src/views/project/page-project-chat.pug @@ -2,7 +2,7 @@ solid-xmpp-chat( data-authentication='login', data-auto-login='true', - data-bosh-service-url=`${xmpp}`, + data-websocket-url=`${xmppWebsocket || 'wss://jabber.happy-dev.fr/xmpp-websocket'}`, data-i18n='en', bind-resources )