Skip to content
Snippets Groups Projects
Commit ae90a864 authored by Jean-Baptiste Pasquier's avatar Jean-Baptiste Pasquier
Browse files

feature: handle other errors on disconnection

parent 7c62d414
No related branches found
No related tags found
1 merge request!53Show badges based on VCard roles, and MUC roles and affiliations
Pipeline #7931 passed
......@@ -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>`
);
}
});
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment