Update Connection manager to clean url history of navigator

This commit is contained in:
Gregoire Parant 2021-11-15 15:25:49 +01:00
parent 61b8d584af
commit bbc2ac2550

View File

@ -212,6 +212,8 @@ class ConnectionManager {
analyticsClient.identifyUser(this.localUser.uuid, this.localUser.email);
}
//clean history with new URL
window.history.pushState({}, document.title, window.location.pathname);
this.serviceWorker = new _ServiceWorker();
return Promise.resolve(this._currentRoom);
}