Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose additional settings to vars config template for appservice-discord #835

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions roles/matrix-bridge-appservice-discord/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@ matrix_appservice_discord_bridge_domain: "{{ matrix_domain }}"
matrix_appservice_discord_bridge_homeserverUrl: "{{ matrix_homeserver_url }}"
matrix_appservice_discord_bridge_disablePresence: false
matrix_appservice_discord_bridge_enableSelfServiceBridging: false
matrix_appservice_discord_bridge_disableTypingNotifications: false
matrix_appservice_discord_bridge_disableDeletionForwarding: false
matrix_appservice_discord_bridge_disableReadReceipts: false
matrix_appservice_discord_bridge_disableJoinLeaveNotifications: false
matrix_appservice_discord_bridge_disableInviteNotifications: false

# Database-related configuration fields.
#
Expand Down
10 changes: 5 additions & 5 deletions roles/matrix-bridge-appservice-discord/templates/config.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,19 @@ bridge:
# will not be shown as away or online.
disablePresence: {{ matrix_appservice_discord_bridge_disablePresence|to_json }}
# Disable sending typing notifications when somebody on Discord types.
disableTypingNotifications: false
disableTypingNotifications: {{ matrix_appservice_discord_bridge_disableTypingNotifications|to_json }}
# Disable deleting messages on Discord if a message is redacted on Matrix.
disableDeletionForwarding: false
disableDeletionForwarding: {{ matrix_appservice_discord_bridge_disableDeletionForwarding|to_json }}
# Enable users to bridge rooms using !discord commands. See
# https://t2bot.io/discord for instructions.
enableSelfServiceBridging: {{ matrix_appservice_discord_bridge_enableSelfServiceBridging|to_json }}
# Disable sending of read receipts for Matrix events which have been
# successfully bridged to Discord.
disableReadReceipts: false
disableReadReceipts: {{ matrix_appservice_discord_bridge_disableReadReceipts|to_json }}
# Disable Join Leave echos from matrix
disableJoinLeaveNotifications: false
disableJoinLeaveNotifications: {{ matrix_appservice_discord_bridge_disableJoinLeaveNotifications|to_json }}
# Disable Invite echos from matrix
disableInviteNotifications: false
disableInviteNotifications: {{ matrix_appservice_discord_bridge_disableInviteNotifications|to_json }}
# Auto-determine the language of code blocks (this can be CPU-intensive)
determineCodeLanguage: false
# Authentication configuration for the discord bot.
Expand Down