Extract mautrix-slack's network.displayname_template
configuration into a variable (matrix_mautrix_slack_network_displayname_template
)
This commit is contained in:
@@ -20,7 +20,7 @@ network:
|
||||
# .Profile.Pronouns - The pronouns of the user
|
||||
# .Profile.Email - The email address of the user
|
||||
# .Profile.Phone - The formatted phone number of the user
|
||||
displayname_template: '{% raw %}{{or .Profile.DisplayName .Profile.RealName .Name}}{{if .IsBot}} (bot){{end}}{% endraw %}'
|
||||
displayname_template: {{ matrix_mautrix_slack_network_displayname_template | to_json }}
|
||||
# Channel name template for Slack channels (all types). Available variables:
|
||||
# .Name - The name of the channel
|
||||
# .Team.Name - The name of the team the channel is in
|
||||
|
Reference in New Issue
Block a user