diff --git a/src/solid-xmpp-chat.js b/src/solid-xmpp-chat.js index 85dd95014c0a5c5edfb91c1152745eef22f19310..c3c8dea278164cd288b1942fae3515cf720aaeb5 100644 --- a/src/solid-xmpp-chat.js +++ b/src/solid-xmpp-chat.js @@ -156,6 +156,10 @@ export const SolidXMPPChat = { Array.from(document.querySelectorAll('solid-xmpp-chat')).map(el => el.shadowRoot.innerHTML = `<div style='margin:3em;line-height:32px;'><b style='color:red;'>Erreur d'authentification.</b><br /><i style='color:grey;'>Êtes-vous sur le Hubl affilié à votre compte ?</i></div>` ); + } else { + Array.from(document.querySelectorAll('solid-xmpp-chat')).map(el => el.shadowRoot.innerHTML = + `<div style='margin:3em;line-height:32px;'><b style='color:red;'>Erreur.</b><br /><i style='color:grey;'>${this._converse.connfeedback.attributes.message}</i></div>` + ); } }); }