diff options
-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 |