This commit is contained in:
Ralf-Peter Wolff 2024-02-23 15:41:22 +01:00
parent 50faf35850
commit f1bf3de5ce
2 changed files with 3 additions and 5 deletions

View File

@ -1,6 +1,5 @@
# Configuration file for Synapse. # Configuration file for Synapse.
# #
# https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html
server_name: "matrix.server-nb.de" server_name: "matrix.server-nb.de"
pid_file: /data/homeserver.pid pid_file: /data/homeserver.pid
listeners: listeners:
@ -55,9 +54,7 @@ enable_3pid_changes: true
user_directory.search_all_users: true user_directory.search_all_users: true
matrix_synapse_allow_public_rooms_over_federation: true matrix_synapse_allow_public_rooms_over_federation: true
#allow_guest_access: true #allow_guest_access: true
# #
# vim:ft=yaml
email: email:
smtp_host: mail.host-nb.de smtp_host: mail.host-nb.de
smtp_port: 587 smtp_port: 587

View File

@ -102,7 +102,8 @@ whatsapp:
bridge: bridge:
# Localpart template of MXIDs for WhatsApp users. # Localpart template of MXIDs for WhatsApp users.
# {{.}} is replaced with the phone number of the WhatsApp user. # {{.}} is replaced with the phone number of the WhatsApp user.
username_template: whatsapp_{{.}} # whatsapp_{{.}}
username_template: {{.FullName}}
# Displayname template for WhatsApp users. # Displayname template for WhatsApp users.
# {{.PushName}} - nickname set by the WhatsApp user # {{.PushName}} - nickname set by the WhatsApp user
# {{.BusinessName}} - validated WhatsApp business name # {{.BusinessName}} - validated WhatsApp business name
@ -110,7 +111,7 @@ bridge:
# The following variables are also available, but will cause problems on multi-user instances: # The following variables are also available, but will cause problems on multi-user instances:
# {{.FullName}} - full name from contact list # {{.FullName}} - full name from contact list
# {{.FirstName}} - first name from contact list # {{.FirstName}} - first name from contact list
displayname_template: "{{or .BusinessName .PushName .JID}} (WA)" displayname_template: "{{.FullName}} (WA)"
# Should the bridge create a space for each logged-in user and add bridged rooms to it? # Should the bridge create a space for each logged-in user and add bridged rooms to it?
# Users who logged in before turning this on should run `!wa sync space` to create and fill the space for the first time. # Users who logged in before turning this on should run `!wa sync space` to create and fill the space for the first time.
personal_filtering_spaces: false personal_filtering_spaces: false