mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2025-07-09 17:35:12 +02:00
Extract mautrix-signal's network.displayname_template
configuration into a variable (matrix_mautrix_signal_network_displayname_template
)
This commit is contained in:
@ -48,6 +48,14 @@ matrix_mautrix_signal_msc4190_enabled: "{{ matrix_bridges_msc4190_enabled }}"
|
|||||||
|
|
||||||
matrix_mautrix_signal_command_prefix: "!signal"
|
matrix_mautrix_signal_command_prefix: "!signal"
|
||||||
|
|
||||||
|
# Displayname template for Signal users.
|
||||||
|
# {{.ProfileName}} - The Signal profile name set by the user.
|
||||||
|
# {{.ContactName}} - The name for the user from your phone's contact list. This is not safe on multi-user instances.
|
||||||
|
# {{.PhoneNumber}} - The phone number of the user.
|
||||||
|
# {{.UUID}} - The UUID of the Signal user.
|
||||||
|
# {{.AboutEmoji}} - The emoji set by the user in their profile.
|
||||||
|
matrix_mautrix_signal_network_displayname_template: "{% raw %}{{or .ProfileName .PhoneNumber 'Unknown user'}} (Signal){% endraw %}"
|
||||||
|
|
||||||
matrix_mautrix_signal_bridge_permissions: |
|
matrix_mautrix_signal_bridge_permissions: |
|
||||||
{{
|
{{
|
||||||
{'*': 'relay', matrix_mautrix_signal_homeserver_domain: 'user'}
|
{'*': 'relay', matrix_mautrix_signal_homeserver_domain: 'user'}
|
||||||
|
@ -9,7 +9,7 @@ network:
|
|||||||
# {{.UUID}} - The UUID of the Signal user.
|
# {{.UUID}} - The UUID of the Signal user.
|
||||||
# {{.AboutEmoji}} - The emoji set by the user in their profile.
|
# {{.AboutEmoji}} - The emoji set by the user in their profile.
|
||||||
# {% endraw %}
|
# {% endraw %}
|
||||||
displayname_template: "{% raw %}{{or .ProfileName .PhoneNumber 'Unknown user'}} (Signal){% endraw %}"
|
displayname_template: {{ matrix_mautrix_signal_network_displayname_template | to_json }}
|
||||||
# Should avatars from the user's contact list be used? This is not safe on multi-user instances.
|
# Should avatars from the user's contact list be used? This is not safe on multi-user instances.
|
||||||
use_contact_avatars: false
|
use_contact_avatars: false
|
||||||
# Should the bridge request the user's contact list from the phone on startup?
|
# Should the bridge request the user's contact list from the phone on startup?
|
||||||
|
Reference in New Issue
Block a user