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() {
|
_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()
|
||||||
|
Loading…
Reference in New Issue
Block a user