feat: Consolidate antispam checks into a service

Also adds support for the spam checker join rule, and Draupnir callbacks
This commit is contained in:
timedout authored and Jade Ellis committed 2026-01-05 20:10:28 +00:00
1 parent c249dd992e
commit 5ac82f36f3
13 files changed
+355 -136

No files matched your search

+23 -6
View File
@@ -1647,7 +1647,7 @@
# Enable the tokio-console. This option is only relevant to developers.
#
# For more information, see:
# For more information, see:
# https://continuwuity.org/development.html#debugging-with-tokio-console
#
#tokio_console = false
@@ -1757,10 +1757,6 @@
#
#ldap = false
# Configuration for antispam support
#
#antispam = false
[global.tls]
# Path to a valid TLS certificate file.
@@ -1930,7 +1926,7 @@
[global.antispam.meowlnir]
# The base URL on which to contact meowlnir (before /_meowlnir/antispam).
# The base URL on which to contact Meowlnir (before /_meowlnir/antispam).
#
# Example: "http://127.0.0.1:29339"
#
@@ -1944,3 +1940,24 @@
# The management room for which to send requests
#
#management_room =
# If enabled run all federated join attempts (both federated and local)
# through the Meowlnir anti-spam checks.
#
# By default, only join attempts for rooms with the `fi.mau.spam_checker`
# restricted join rule are checked.
#
#check_all_joins = false
[global.antispam.draupnir]
# The base URL on which to contact Draupnir (before /api/).
#
# Example: "http://127.0.0.1:29339"
#
#base_url =
# The authentication secret defined in
# web->synapseHTTPAntispam->authorization
#
#secret =