You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-08-09 10:22:46 +03:00
Remove unnecesary check
This commit is contained in:
@@ -265,10 +265,6 @@ InteractiveAuth.prototype = {
|
||||
if (!nextStage) {
|
||||
throw new Error("No incomplete flows from the server");
|
||||
}
|
||||
if (nextStage == this._currentStage) {
|
||||
// we've already started: don't re-start it
|
||||
return;
|
||||
}
|
||||
this._currentStage = nextStage;
|
||||
|
||||
if (this._data.errcode || this._data.error) {
|
||||
|
Reference in New Issue
Block a user