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

This commit is contained in:
László Várady 2022-03-05 21:07:43 +01:00
parent 1bea072484
commit 2c861c90bc
2 changed files with 6 additions and 0 deletions

View File

@ -33,6 +33,9 @@ matrix_mautrix_facebook_systemd_wanted_services_list: []
matrix_mautrix_facebook_appservice_token: '' matrix_mautrix_facebook_appservice_token: ''
matrix_mautrix_facebook_homeserver_token: '' matrix_mautrix_facebook_homeserver_token: ''
# Whether or not created rooms should have federation enabled.
# If false, created portal rooms will never be federated.
matrix_mautrix_facebook_federate_rooms: true
# Database-related configuration fields. # Database-related configuration fields.
# #

View File

@ -141,6 +141,9 @@ bridge:
delivery_receipts: false delivery_receipts: false
# Whether to allow inviting arbitrary mxids to portal rooms # Whether to allow inviting arbitrary mxids to portal rooms
allow_invites: false allow_invites: false
# Whether or not created rooms should have federation enabled.
# If false, created portal rooms will never be federated.
federate_rooms: {{ matrix_mautrix_facebook_federate_rooms|to_json }}
# Settings for backfilling messages from Facebook. # Settings for backfilling messages from Facebook.
backfill: backfill:
# Whether or not the Facebook users of logged in Matrix users should be # Whether or not the Facebook users of logged in Matrix users should be