Package Details: mautrix-whatsapp 0.10.7-1

Git Clone URL: https://aur.archlinux.org/mautrix-whatsapp.git (read-only, click to copy)
Package Base: mautrix-whatsapp
Description: A Matrix-WhatsApp puppeting bridge
Upstream URL: https://github.com/tulir/mautrix-whatsapp
Licenses: AGPL
Submitter: L0ric0
Maintainer: sukanka
Last Packager: sukanka
Votes: 9
Popularity: 0.90
First Submitted: 2020-12-31 15:10 (UTC)
Last Updated: 2024-04-16 14:13 (UTC)

Latest Comments

« First ‹ Previous 1 2 3

podiki commented on 2021-03-05 19:41 (UTC)

For the database, could have the mautrix-whatsapp user have a home directory (e.g. /var/lib/mautrix-whatsapp) which I've seen for some other bridges. That would then be the working directory for the service.

As for permissions, you are right, that is a better idea and also seems to be common among other bridges now that I've got them set up. That works for me, and unless bridges decide to formalize a shared registration directory, is probably the cleanest.

L0ric0 commented on 2021-03-04 19:12 (UTC)

i will lock into moving the database to the directory when i have time.

regarding the registration file. I have normaly handled it by adding the synapse user to the mautrix-whatsapp group. which is in my opinion the safest option as everyone that has access to the registration file has (as far as i know) a lot of unresticted access to the homeserver. Also it is not realy possible to put the registration.yaml file into a synapse owned directory as other homeservers are starting to add appservice support and so the package can't asume that you have synapse installed. Another option would be to reach a consensus with all the other packages that add appservices for a matrix homeserver for a single canonical directory for registration files.

podiki commented on 2021-02-28 17:18 (UTC)

I think it would be handy to have a directory for the database (and any other files needing to be written by the bridge). So I created one in /var/lib/ owned by mautrix-whatsapp and set that as the working director and readwrite permissions in the service. Maybe also include some of the service settings from the docs? https://docs.mau.fi/bridges/go/whatsapp/setup/systemd.html

Also (true with I think all the bridges I've tried) there are permissions needed for synapse to read the created registration.yaml file (if made in the /etc/mautrix-whatsapp director). Not sure if normally this is put in a synapse directory or just owned by synapse or made world readable?