fix mautrix-whatsapp config
This commit is contained in:
parent
74d5170010
commit
88cff139ed
@ -80,7 +80,7 @@ whatsapp:
|
|||||||
# Bridge config
|
# Bridge config
|
||||||
bridge:
|
bridge:
|
||||||
# Localpart template of MXIDs for WhatsApp users.
|
# Localpart template of MXIDs for WhatsApp users.
|
||||||
# {% raw %}{{.}}{% endraw %} is replaced with the phone number of the WhatsApp user.
|
# {{ '{{.}}' }} is replaced with the phone number of the WhatsApp user.
|
||||||
username_template: "{{ 'whatsapp_{{.}}' }}"
|
username_template: "{{ 'whatsapp_{{.}}' }}"
|
||||||
# Displayname template for WhatsApp users.
|
# Displayname template for WhatsApp users.
|
||||||
# {{.PushName}} - nickname set by the WhatsApp user
|
# {{.PushName}} - nickname set by the WhatsApp user
|
||||||
@ -89,7 +89,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: "{{if .BusinessName}}{{.BusinessName}}{{else if .PushName}}{{.PushName}}{{else}}{{.JID}}{{end}} (WA)"
|
displayname_template: "{{ '{{if .BusinessName}}{{.BusinessName}}{{else if .PushName}}{{.PushName}}{{else}}{{.JID}}{{end}} (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
|
||||||
|
Loading…
Reference in New Issue
Block a user