forked from fair/matrix-puppeteer-line
Add missing await
When will I stop forgetting this?...
This commit is contained in:
parent
239b71702e
commit
bba3f87635
@ -795,7 +795,7 @@ export default class MessagesPuppeteer {
|
|||||||
await chatItem.evaluate(e => e.click())
|
await chatItem.evaluate(e => e.click())
|
||||||
} else {
|
} else {
|
||||||
await this._interactWithPage(async () => {
|
await this._interactWithPage(async () => {
|
||||||
chatItem.click()
|
await chatItem.click()
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
this.log(`Waiting for chat header title to be "${chatName}"`)
|
this.log(`Waiting for chat header title to be "${chatName}"`)
|
||||||
|
Loading…
Reference in New Issue
Block a user