mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2025-10-16 01:09:42 +02:00
Fix signal displayname config
This commit is contained in:
committed by
Slavi Pantaleev
parent
525d4bc997
commit
489bf39322
@@ -57,7 +57,7 @@ matrix_mautrix_signal_command_prefix: "!signal"
|
|||||||
# {{.PhoneNumber}} - The phone number of the user.
|
# {{.PhoneNumber}} - The phone number of the user.
|
||||||
# {{.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.
|
||||||
matrix_mautrix_signal_network_displayname_template: "{% raw %}{{or .ProfileName .PhoneNumber 'Unknown user'}} (Signal){% endraw %}"
|
matrix_mautrix_signal_network_displayname_template: '{% raw %}{{or .ProfileName .PhoneNumber "Unknown user"}} (Signal){% endraw %}'
|
||||||
|
|
||||||
matrix_mautrix_signal_bridge_permissions: |
|
matrix_mautrix_signal_bridge_permissions: |
|
||||||
{{
|
{{
|
||||||
|
@@ -2,13 +2,6 @@
|
|||||||
# Network-specific config options
|
# Network-specific config options
|
||||||
network:
|
network:
|
||||||
# Displayname template for Signal users.
|
# Displayname template for Signal users.
|
||||||
# {% raw %}
|
|
||||||
# {{.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.
|
|
||||||
# {% endraw %}
|
|
||||||
displayname_template: {{ matrix_mautrix_signal_network_displayname_template | to_json }}
|
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
|
||||||
|
Reference in New Issue
Block a user