forked from fair/matrix-puppeteer-line
Andrew Ferrazzutti
40a48d12a2
Use the sidebar to sync non-DM messages, just like what's done for DM messages. However, since sidebar messages don't say who sent a message, this requires scanning read receipts with MSC2409: when a non-DM sidebar message is seen, the bridge bot sends that message. Only when that placeholder is viewed in Matrix does Puppeteer actually view the non-DM chat to find who really sent the message. Then the bridgebot redacts its message, and the message gets re-sent by the puppet of the LINE user who really sent it. |
||
---|---|---|
.. | ||
src | ||
.dockerignore | ||
.eslintrc.json | ||
.gitignore | ||
Dockerfile | ||
example-config.json | ||
package.json | ||
prep_helper.js | ||
README.md | ||
yarn.lock |
Listen config
If type
is unix
, path
is the path where to create the socket.
If type
is tcp
, port
and host
are the host/port where to listen.
Profile directory
The profile_dir
specifies which directory to put Chromium user data directories.
URL
url
specifies the URL of the index page of the LINE extension for your Chromium installation.
Extension directory
The extension_dir
specifies which directory contains the files for the LINE extension, which you must download yourself.
DevTools
Set devtools
to true
to launch Chromium with DevTools enabled by default.