From 363588442d0fae9fa56a7c9595f5ccd1c0816aa3 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Pasquier Date: Thu, 24 Sep 2020 16:35:25 +0200 Subject: [PATCH] update: handle websocket url --- src/page-messages.pug | 2 +- src/views/circle/page-circle-chat.pug | 2 +- src/views/project/page-project-chat.pug | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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 )