Просмотр исходного кода

Fix GM displaynames, append (GMessages) by default

pull/4668/head
Benjamin Blacher 4 месяцев назад
committed by Slavi Pantaleev
Родитель
Сommit
31f1d40a9f
2 измененных файлов: 1 добавлений и 4 удалений
  1. +1
    -1
      roles/custom/matrix-bridge-mautrix-gmessages/defaults/main.yml
  2. +0
    -3
      roles/custom/matrix-bridge-mautrix-gmessages/templates/config.yaml.j2

+ 1
- 1
roles/custom/matrix-bridge-mautrix-gmessages/defaults/main.yml Просмотреть файл

@@ -167,7 +167,7 @@ matrix_mautrix_gmessages_bridge_encryption_key_sharing_allow: "{{ matrix_mautrix
# For compatibility with the older Gmessages bridge, you may wish to set the pickle key to: "go.mau.fi/mautrix-gmessages"
matrix_mautrix_gmessages_bridge_encryption_pickle_key: mautrix.bridge.e2ee

matrix_mautrix_gmessages_network_displayname_template: "{% raw %}{{or .FullName .PhoneNumber}}{% endraw %}"
matrix_mautrix_gmessages_network_displayname_template: "{% raw %}{{or .FullName .PhoneNumber}} (GMessages){% endraw %}"
matrix_mautrix_gmessages_appservice_username_template: "{% raw %}gmessages_{{.}}{% endraw %}"

matrix_mautrix_gmessages_public_media_signing_key: ''


+ 0
- 3
roles/custom/matrix-bridge-mautrix-gmessages/templates/config.yaml.j2 Просмотреть файл

@@ -2,9 +2,6 @@
# Network-specific config options
network:
# Displayname template for SMS users.
# {% raw %}{{.FullName}}{% endraw %} - Full name provided by the phone
# {% raw %}{{.FirstName}}{% endraw %} - First name provided by the phone
# {% raw %}{{.PhoneNumber}}{% endraw %} - Formatted phone number provided by the phone
displayname_template: {{ matrix_mautrix_gmessages_network_displayname_template | to_json }}
# Settings for how the bridge appears to the phone.
device_meta:


Загрузка…
Отмена
Сохранить