Compare commits

..

9 Commits

Author SHA1 Message Date
Cristian Le 6ac15333f8 Invite only on direct chat 2021-06-04 19:48:11 +09:00
Cristian Le 92fd74afa2 Missing invite for bridgebot
Most evident at room creation, but more might need to be added
2021-06-04 19:29:44 +09:00
Andrew Ferrazzutti 47a0284e81 Safety null checks for avatars 2021-06-03 20:08:03 -04:00
Andrew Ferrazzutti b06e4532a1 Use real sender name ya dingus 2021-06-03 19:37:46 -04:00
Andrew Ferrazzutti 8613ad1256 Support LINE users with no discoverable ID
AKA "strangers". Should only happen to non-friends in rooms (not groups!)
2021-06-03 01:13:00 -04:00
Andrew Ferrazzutti 3c5c8cd610 Allow syncing pathless avatar images
But only if a path wasn't yet found for that image
2021-05-30 19:11:39 -04:00
Andrew Ferrazzutti 54099caf87 Startup fixes 2021-05-30 19:10:52 -04:00
Andrew Ferrazzutti a3195955cc Catch getting logged out
Happens when logging into Line on Chrome somewhere else
2021-05-30 17:41:28 -04:00
Andrew Ferrazzutti 3cca9f9606 Too many fixes 2021-05-28 02:27:14 -04:00
3 changed files with 5 additions and 4 deletions

View File

@ -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")

View File

@ -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"],
})
})

View File

@ -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