Add support for disabling presence on matrix-bridge-mx-puppet-discord

This commit is contained in:
Slavi Pantaleev
2024-01-08 17:06:38 +02:00
parent 6d0ecb0269
commit 82de4581e3
3 changed files with 7 additions and 2 deletions

View File

@ -68,6 +68,9 @@ matrix_mx_puppet_discord_homeserver_token: ''
# Can be set to enable automatic double-puppeting via Shared Secret Auth (https://github.com/devture/matrix-synapse-shared-secret-auth).
matrix_mx_puppet_discord_login_shared_secret: ''
matrix_mx_puppet_discord_presence_enabled: true
matrix_mx_puppet_discord_presence_interval: 5000
# Database configuration
matrix_mx_puppet_discord_database_engine: 'sqlite'

View File

@ -23,9 +23,9 @@ bridge:
presence:
# Bridge Discord online/offline status
enabled: true
enabled: {{ matrix_mx_puppet_discord_presence_enabled | to_json }}
# How often to send status to the homeserver in milliseconds
interval: 5000
interval: {{ matrix_mx_puppet_discord_presence_interval | to_json }}
provisioning:
# Regex of Matrix IDs allowed to use the puppet bridge