forked from fair/matrix-puppeteer-line
Compare commits
9 Commits
3286d7e6e2
...
6ac15333f8
Author | SHA1 | Date |
---|---|---|
Cristian Le | 6ac15333f8 | |
Cristian Le | 92fd74afa2 | |
Andrew Ferrazzutti | 47a0284e81 | |
Andrew Ferrazzutti | b06e4532a1 | |
Andrew Ferrazzutti | 8613ad1256 | |
Andrew Ferrazzutti | 3c5c8cd610 | |
Andrew Ferrazzutti | 54099caf87 | |
Andrew Ferrazzutti | a3195955cc | |
Andrew Ferrazzutti | 3cca9f9606 |
|
@ -74,9 +74,9 @@ class Config(BaseBridgeConfig):
|
|||
copy("bridge.delivery_error_reports")
|
||||
copy("bridge.resend_bridge_info")
|
||||
copy("bridge.receive_stickers")
|
||||
copy("bridge.resend_bridge_info")
|
||||
copy("bridge.use_sticker_events")
|
||||
copy("bridge.emoji_scale_factor")
|
||||
copy("bridge.command_prefix")
|
||||
copy("bridge.user")
|
||||
|
||||
copy("puppeteer.connection.type")
|
||||
|
|
|
@ -865,7 +865,7 @@ class MautrixController {
|
|||
lowerBound, i-1)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Insert the given message to the proper inner array.
|
||||
* In no inner array exists, insert a new one, preserving sort order.
|
||||
|
@ -1315,4 +1315,4 @@ new MutationObserver(() => {
|
|||
}).observe(mainApp, {
|
||||
attributes: true,
|
||||
attributeFilter: ["class"],
|
||||
})
|
||||
})
|
|
@ -126,6 +126,7 @@ export default class MessagesPuppeteer {
|
|||
}
|
||||
this.log("Injecting content script")
|
||||
await this.page.addScriptTag({ path: "./src/contentscript.js", type: "module" })
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -183,7 +184,7 @@ export default class MessagesPuppeteer {
|
|||
|
||||
await this.page.evaluate(
|
||||
element => window.__mautrixController.addPINAppearObserver(element), loginContentArea)
|
||||
|
||||
|
||||
this.log("Waiting for login response")
|
||||
let doneWaiting = false
|
||||
let loginSuccess = false
|
||||
|
|
Loading…
Reference in New Issue