mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2025-07-09 01:15:10 +02:00
Extract mautrix-slack's network.displayname_template
configuration into a variable (matrix_mautrix_slack_network_displayname_template
)
This commit is contained in:
@ -36,6 +36,27 @@ matrix_mautrix_slack_appservice_address: "http://matrix-mautrix-slack:8080"
|
|||||||
|
|
||||||
matrix_mautrix_slack_msc4190_enabled: "{{ matrix_bridges_msc4190_enabled }}"
|
matrix_mautrix_slack_msc4190_enabled: "{{ matrix_bridges_msc4190_enabled }}"
|
||||||
|
|
||||||
|
# Displayname template for Slack users. Available variables:
|
||||||
|
# .Name - The username of the user
|
||||||
|
# .Team.Name - The name of the team the channel is in
|
||||||
|
# .Team.Domain - The Slack subdomain of the team the channel is in
|
||||||
|
# .ID - The internal ID of the user
|
||||||
|
# .IsBot - Whether the user is a bot
|
||||||
|
# .Profile.DisplayName - The username or real name of the user (depending on settings)
|
||||||
|
# Variables only available for users (not bots):
|
||||||
|
# .TeamID - The internal ID of the workspace the user is in
|
||||||
|
# .TZ - The timezone region of the user (e.g. Europe/London)
|
||||||
|
# .TZLabel - The label of the timezone of the user (e.g. Greenwich Mean Time)
|
||||||
|
# .TZOffset - The UTC offset of the timezone of the user (e.g. 0)
|
||||||
|
# .Profile.RealName - The real name of the user
|
||||||
|
# .Profile.FirstName - The first name of the user
|
||||||
|
# .Profile.LastName - The last name of the user
|
||||||
|
# .Profile.Title - The job title of the user
|
||||||
|
# .Profile.Pronouns - The pronouns of the user
|
||||||
|
# .Profile.Email - The email address of the user
|
||||||
|
# .Profile.Phone - The formatted phone number of the user
|
||||||
|
matrix_mautrix_slack_network_displayname_template: '{% raw %}{{or .Profile.DisplayName .Profile.RealName .Name}}{{if .IsBot}} (bot){{end}}{% endraw %}'
|
||||||
|
|
||||||
matrix_mautrix_slack_command_prefix: "!slack"
|
matrix_mautrix_slack_command_prefix: "!slack"
|
||||||
|
|
||||||
matrix_mautrix_slack_bridge_permissions: |
|
matrix_mautrix_slack_bridge_permissions: |
|
||||||
|
@ -20,7 +20,7 @@ network:
|
|||||||
# .Profile.Pronouns - The pronouns of the user
|
# .Profile.Pronouns - The pronouns of the user
|
||||||
# .Profile.Email - The email address of the user
|
# .Profile.Email - The email address of the user
|
||||||
# .Profile.Phone - The formatted phone number 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:
|
# Channel name template for Slack channels (all types). Available variables:
|
||||||
# .Name - The name of the channel
|
# .Name - The name of the channel
|
||||||
# .Team.Name - The name of the team the channel is in
|
# .Team.Name - The name of the team the channel is in
|
||||||
|
Reference in New Issue
Block a user