ソースを参照

Fix Twitter displaynames

pull/4665/head
Benjamin Blacher 4ヶ月前
コミット
2e04fddd0d
2個のファイルの変更1行の追加5行の削除
  1. +1
    -1
      roles/custom/matrix-bridge-mautrix-twitter/defaults/main.yml
  2. +0
    -4
      roles/custom/matrix-bridge-mautrix-twitter/templates/config.yaml.j2

+ 1
- 1
roles/custom/matrix-bridge-mautrix-twitter/defaults/main.yml ファイルの表示

@@ -50,7 +50,7 @@ matrix_mautrix_twitter_appservice_public_address: ''
# Displayname template for Twitter users. # Displayname template for Twitter users.
# {{ .DisplayName }} is replaced with the display name of the Twitter user. # {{ .DisplayName }} is replaced with the display name of the Twitter user.
# {{ .Username }} is replaced with the username of the Twitter user. # {{ .Username }} is replaced with the username of the Twitter user.
matrix_mautrix_twitter_network_displayname_template: "{% raw %}{{ .DisplayName }}{% endraw %} (Twitter)"
matrix_mautrix_twitter_network_displayname_template: "{% raw %}{{ .DisplayName }} (Twitter){% endraw %}"


matrix_mautrix_twitter_bridge_command_prefix: "!tw" matrix_mautrix_twitter_bridge_command_prefix: "!tw"




+ 0
- 4
roles/custom/matrix-bridge-mautrix-twitter/templates/config.yaml.j2 ファイルの表示

@@ -7,10 +7,6 @@ network:
get_proxy_url: null get_proxy_url: null


# Displayname template for Twitter users. # Displayname template for Twitter users.
# {% raw %}
# {{ .DisplayName }} is replaced with the display name of the Twitter user.
# {{ .Username }} is replaced with the username of the Twitter user.
# {% endraw %}
displayname_template: {{ matrix_mautrix_twitter_network_displayname_template | to_json }} displayname_template: {{ matrix_mautrix_twitter_network_displayname_template | to_json }}


# Maximum number of conversations to sync on startup # Maximum number of conversations to sync on startup


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