diff options
author | Richard van der Hoff <richard@matrix.org> | 2021-02-06 11:02:53 +0000 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2021-02-06 11:04:32 +0000 |
commit | 3f6530ed5575a9ea574e026dbd4fe59caf3afebe (patch) | |
tree | f228020f9ebd29b12bfe4da5948d1a68497a8c96 | |
parent | Merge branch 'erikj/media_spam_checker' into matrix-org-hotfixes (diff) | |
download | synapse-3f6530ed5575a9ea574e026dbd4fe59caf3afebe.tar.xz |
block groups requests to fosdem
-rw-r--r-- | synapse/handlers/groups_local.py | 3 |
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 |