ソースを参照

Fix signal displayname config

pull/4644/head
Benjamin Blacher 6ヶ月前
コミット
98564ef308
2個のファイルの変更1行の追加8行の削除
  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 ファイルの表示

@@ -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 ファイルの表示

@@ -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


読み込み中…
キャンセル
保存