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

bugfix: clear cache before init

parent 58a5f0de
No related branches found
No related tags found
No related merge requests found
Pipeline #7711 passed
...@@ -252,6 +252,9 @@ export const SolidXMPPChat = { ...@@ -252,6 +252,9 @@ export const SolidXMPPChat = {
const idToken = await document.querySelector('sib-auth').getUserIdToken(); const idToken = await document.querySelector('sib-auth').getUserIdToken();
sessionStorage.clear();
indexedDB.deleteDatabase('converse-persistent');
converse.initialize({ converse.initialize({
'assets_path': ComponentPath + '/dist/conversejs/', 'assets_path': ComponentPath + '/dist/conversejs/',
'authentication': this.element.dataset.authentication || 'login', 'authentication': this.element.dataset.authentication || 'login',
......
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