bundlewrap/bundles/mautrix-whatsapp/files/registration.yaml

11 lines
450 B
YAML
Raw Normal View History

2020-12-31 11:18:34 +00:00
id: whatsapp
url: http://${node.metadata['mautrix-whatsapp'].get('listen-addr', '127.0.0.1')}:${node.metadata['mautrix-whatsapp'].get('port', 20020)}
as_token: ${node.metadata['mautrix-whatsapp']['as_token']}
hs_token: ${node.metadata['mautrix-whatsapp']['hs_token']}
sender_localpart: whatsappbot
rate_limited: false
namespaces:
users:
- regex: ^@whatsapp_[0-9]+:${node.metadata['mautrix-whatsapp']['homeserver']['domain']}$
exclusive: true