Bläddra i källkod

Fix signal displayname config

pull/4646/head
Benjamin Blacher 4 månader sedan
committed by Slavi Pantaleev
förälder
incheckning
489bf39322
2 ändrade filer med 1 tillägg och 8 borttagningar
  1. +1
    -1
      roles/custom/matrix-bridge-mautrix-signal/defaults/main.yml
  2. +0
    -7
      roles/custom/matrix-bridge-mautrix-signal/templates/config.yaml.j2

+ 1
- 1
roles/custom/matrix-bridge-mautrix-signal/defaults/main.yml Visa fil

@@ -57,7 +57,7 @@ matrix_mautrix_signal_command_prefix: "!signal"
# {{.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_network_displayname_template: '{% raw %}{{or .ProfileName .PhoneNumber "Unknown user"}} (Signal){% endraw %}'

matrix_mautrix_signal_bridge_permissions: |
{{


+ 0
- 7
roles/custom/matrix-bridge-mautrix-signal/templates/config.yaml.j2 Visa fil

@@ -2,13 +2,6 @@
# Network-specific config options
network:
# 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 }}
# Should avatars from the user's contact list be used? This is not safe on multi-user instances.
use_contact_avatars: false


Laddar…
Avbryt
Spara