From 36af768c131f6c253d4844a9780300525876fd8c Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Thu, 7 Apr 2022 15:18:02 +0100 Subject: Fix fetching public rooms over federation (#12410) Broke by #12364 --- synapse/federation/transport/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'synapse') diff --git a/synapse/federation/transport/client.py b/synapse/federation/transport/client.py index d4b3cb3e98..66a41e45fc 100644 --- a/synapse/federation/transport/client.py +++ b/synapse/federation/transport/client.py @@ -509,7 +509,7 @@ class TransportLayerClient: 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] -- cgit 1.4.1