summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2021-02-06 11:02:53 +0000
committerRichard van der Hoff <richard@matrix.org>2021-02-06 11:04:32 +0000
commit3f6530ed5575a9ea574e026dbd4fe59caf3afebe (patch)
treef228020f9ebd29b12bfe4da5948d1a68497a8c96 /synapse
parentMerge branch 'erikj/media_spam_checker' into matrix-org-hotfixes (diff)
downloadsynapse-3f6530ed5575a9ea574e026dbd4fe59caf3afebe.tar.xz
block groups requests to fosdem
Diffstat (limited to 'synapse')
-rw-r--r--synapse/handlers/groups_local.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/handlers/groups_local.py b/synapse/handlers/groups_local.py

index 71f11ef94a..df040a675e 100644 --- a/synapse/handlers/groups_local.py +++ b/synapse/handlers/groups_local.py
@@ -42,6 +42,9 @@ def _create_rerouter(func_name): else: destination = get_domain_from_id(group_id) + if destination == "fosdem.org": + raise SynapseError(502, "Failed to contact group server") + try: return await getattr(self.transport_client, func_name)( destination, group_id, *args, **kwargs