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() {
return new Promise((resolve, reject) => {
if (this.loginCancelled) {
this.loginCancelled = false
resolve()
} else {
reject()