spantaleev / matrix-docker-ansible-deploy

🐳 Matrix (An open network for secure, decentralized communication) server setup using Ansible and Docker
GNU Affero General Public License v3.0
4.78k stars 1.03k forks source link

Config for Signal doesn't change the Name #3510

Closed mr8tom closed 2 weeks ago

mr8tom commented 2 weeks ago

Describe the bug The disyplayed Name of the Contacts seems not to be customizable with the syntax in the given config. I tried many versions. I looked at the config at the signal github, looks different there. No "...{% endraw %}"

To Reproduce My vars.yml file looks like this:

[...]
matrix_mautrix_signal_enabled: true
#matrix_mautrix_signal_version: "0.4.3"
#matrix_mautrix_signal_version: "latest"
#encryption
matrix_mautrix_signal_bridge_encryption_allow: true
matrix_mautrix_signal_bridge_encryption_default: true
matrix_mautrix_signal_bridge_personal_filtering_spaces: false
#matrix_mautrix_signal_relaybot_enabled: false
#global_permissions?
permissions:
  '*': relay
  xxx.xx: user
matrix_mautrix_signal_configuration_extension_yaml: |
  netqork:
    use_contact_avatars: true
    displayname_template: "{% raw %}{{or .ContactName .ProfileName .PhoneNumber}} _sg{% endraw %}"
  bridge:
    permissions:
      'xxx@xxx.xx': admin
  matrix:
    delivery_receipts: true

Expected behavior Change the Display Name according to the config. But it stays with the Profile Name

Matrix Server:

spantaleev commented 2 weeks ago

netqork looks like a typo.

Check the generated file on the server and see if the playbook is doing its job of applying your changes. If it is and the bridge is not changing display names, then you should seek support in the bridge repository - perhaps subsequent to the display name are not applied.

mr8tom commented 2 weeks ago

omg true. sorry :'( double checked and still didn't see it.

matrix_mautrix_signal_configuration_extension_yaml: |
  network:
#netqork:
[...]

for knowledge: I checked /matrix/mautrix-signal/config/config.yaml with the content from /opt/containers/matrix/inventory/host_vars/xxx.xx/vars.yaml

is working now, i'm closing the issue. thank you.