Add synapse-http-antispam support to Draupnir role

This commit is contained in:
Catalan Lover
2025-04-24 11:50:53 +02:00
parent ffde4fcb80
commit 7b2c56aa39
5 changed files with 26 additions and 3 deletions

View File

@@ -129,6 +129,15 @@ matrix_bot_draupnir_config_admin_enableMakeRoomAdminCommand: false # noqa var-n
# This config option has diminished improvements for bots on extremely fast homeservers or very very small bots on fast homeservers.
matrix_bot_draupnir_config_roomStateBackingStore_enabled: true # noqa var-naming
matrix_bot_draupnir_config_web_port: "8080"
matrix_bot_draupnir_web_url: 'http://matrix-bot-draupnir'
# These variables are used for turning on the integration between the synapseHTTPAntispam module and Draupnir.
# Authorisation is a shared secret between Draupnir and the module just like is used by Appservices and the homeserver
# therefore the same creation mechanism is used here too.
matrix_bot_draupnir_config_web_synapseHTTPAntispam_enabled: false # noqa var-naming
matrix_bot_draupnir_config_web_synapseHTTPAntispam_authorization: '' # noqa var-naming
# Default configuration template which covers the generic use case.
# You can customize it by controlling the various variables inside it.
#