Fix broken login cancellation

This commit is contained in:
Andrew Ferrazzutti 2021-07-26 01:40:47 -04:00
parent d4ab8b90d2
commit bc0ee93276

View File

@ -347,7 +347,6 @@ export default class MessagesPuppeteer {
_waitForLoginCancel() { _waitForLoginCancel() {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
if (this.loginCancelled) { if (this.loginCancelled) {
this.loginCancelled = false
resolve() resolve()
} else { } else {
reject() reject()