Add support for automatic Double Puppeting for all Mautrix bridges

This commit is contained in:
Slavi Pantaleev
2020-01-12 20:28:36 +02:00
parent 53186ffa1c
commit bd38861179
10 changed files with 156 additions and 20 deletions

View File

@ -27,6 +27,9 @@ matrix_mautrix_facebook_systemd_wanted_services_list: []
matrix_mautrix_facebook_appservice_token: ''
matrix_mautrix_facebook_homeserver_token: ''
# Can be set to enable automatic double-puppeting via Shared Secret Auth (https://github.com/devture/matrix-synapse-shared-secret-auth).
matrix_mautrix_facebook_login_shared_secret: ''
# Default configuration template which covers the generic use case.
# You can customize it by controlling the various variables inside it.
#
@ -129,7 +132,7 @@ matrix_mautrix_facebook_configuration_yaml: |
# If set, custom puppets will be enabled automatically for local users
# instead of users having to find an access token and run `login-matrix`
# manually.
login_shared_secret: null
login_shared_secret: {{ matrix_mautrix_facebook_login_shared_secret|to_json }}
# Whether or not to bridge presence in both directions. Facebook allows users not to broadcast
# presence, but then it won't send other users' presence to the client.
presence: true