forked from fair/matrix-puppeteer-line
Fix broken login cancellation
This commit is contained in:
parent
d4ab8b90d2
commit
bc0ee93276
|
@ -347,7 +347,6 @@ export default class MessagesPuppeteer {
|
|||
_waitForLoginCancel() {
|
||||
return new Promise((resolve, reject) => {
|
||||
if (this.loginCancelled) {
|
||||
this.loginCancelled = false
|
||||
resolve()
|
||||
} else {
|
||||
reject()
|
||||
|
|
Loading…
Reference in New Issue