mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 11:35:04 +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) {
|
async startWithLogin(loginMethod) {
|
||||||
const currentStatus = this._status.get();
|
const currentStatus = this._status.get();
|
||||||
if (currentStatus !== LoadStatus.LoginFailed && currentStatus !== LoadStatus.NotLoading) {
|
if (currentStatus !== LoadStatus.LoginFailed &&
|
||||||
|
currentStatus !== LoadStatus.NotLoading &&
|
||||||
|
currentStatus !== LoadStatus.Error) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this._resetStatus();
|
this._resetStatus();
|
||||||
|
Loading…
Reference in New Issue
Block a user