I don't know, and I haven't tried. The Python/Node IPC was inherited from mautrix-amp, which worked so well that I was (and still am) more than happy to keep…
I haven't tried using the flag directly, but I did try using Puppeteer's headless mode, which I believe sets that flag itself. Doing so prevents the LINE extension from being loaded, unfortunately.
Thanks for pointing this out. Type hints aren't all that critical, so I'll remove TypedDict
to drop the minimum version to 3.7 (as reported by vermin).
Yes, an X server is needed, as Puppeteer cannot be run headless with extensions enabled in Chrome…
Actually, the encryption works as long as the room is joined before the first backfill happens. It has nothing to do with which puppets are in the room.