All promises are now handled

This commit is contained in:
David Négrier
2022-01-04 16:48:47 +01:00
parent 6e27ffb2d5
commit 24baf5664c
21 changed files with 262 additions and 208 deletions
+1 -1
View File
@@ -352,7 +352,7 @@ export class RoomConnection implements RoomConnection {
break;
}
case "tokenExpiredMessage": {
connectionManager.logout();
connectionManager.logout().catch((e) => console.error(e));
this.closed = true; //technically, this isn't needed since loadOpenIDScreen() will do window.location.assign() but I prefer to leave it for consistency
break;
}