mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-22 19:14:52 +01:00
Also check LoadStatus.Error
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
This commit is contained in:
parent
84fd286140
commit
c9fbafb909
@ -130,7 +130,9 @@ export class SessionContainer {
|
||||
|
||||
async startWithLogin(loginMethod) {
|
||||
const currentStatus = this._status.get();
|
||||
if (currentStatus !== LoadStatus.LoginFailed && currentStatus !== LoadStatus.NotLoading) {
|
||||
if (currentStatus !== LoadStatus.LoginFailed &&
|
||||
currentStatus !== LoadStatus.NotLoading &&
|
||||
currentStatus !== LoadStatus.Error) {
|
||||
return;
|
||||
}
|
||||
this._resetStatus();
|
||||
|
Loading…
Reference in New Issue
Block a user