bridge-mautrix-whatsapp: add option for creating non-federated rooms

This commit is contained in:
László Várady 2022-03-05 21:10:24 +01:00
parent 3c6c8db5d5
commit 338b4cebd2
2 changed files with 5 additions and 1 deletions

View File

@ -37,6 +37,10 @@ matrix_mautrix_whatsapp_homeserver_token: ''
matrix_mautrix_whatsapp_appservice_bot_username: whatsappbot
# Whether or not created rooms should have federation enabled.
# If false, created portal rooms will never be federated.
matrix_mautrix_whatsapp_federate_rooms: true
# Database-related configuration fields.
#
# To use SQLite, stick to these defaults.

View File

@ -136,7 +136,7 @@ bridge:
allow_user_invite: false
# Whether or not created rooms should have federation enabled.
# If false, created portal rooms will never be federated.
federate_rooms: true
federate_rooms: {{ matrix_mautrix_whatsapp_federate_rooms|to_json }}
# The prefix for commands. Only required in non-management rooms.
command_prefix: "!wa"