diff --git a/synapse/handlers/groups_local.py b/synapse/handlers/groups_local.py index ca5c83811a23..26b0c52fdb8c 100644 --- a/synapse/handlers/groups_local.py +++ b/synapse/handlers/groups_local.py @@ -303,7 +303,7 @@ async def create_group(self, group_id, user_id, content): content["user_profile"] = await self.profile_handler.get_profile(user_id) try: - res = await self.transport_client.create_group( + res = await self.groups_server_handler.create_group( get_domain_from_id(group_id), group_id, user_id, content ) except HttpResponseException as e: