From 8b4b0655e63981ee9c1f48b8fca738efc568758f Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Thu, 7 Apr 2022 14:47:08 +0100 Subject: [PATCH] Fix fetching public rooms over federation Broke by #12364 --- synapse/federation/transport/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/synapse/federation/transport/client.py b/synapse/federation/transport/client.py index d4b3cb3e98ca..66a41e45fc2d 100644 --- a/synapse/federation/transport/client.py +++ b/synapse/federation/transport/client.py @@ -509,7 +509,7 @@ async def get_public_rooms( if third_party_instance_id: args["third_party_instance_id"] = (third_party_instance_id,) if limit: - args["limit"] = [limit] + args["limit"] = [str(limit)] if since_token: args["since"] = [since_token]