summary refs log tree commit diff
path: root/synapse/federation
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2022-04-07 15:18:02 +0100
committerGitHub <noreply@github.com>2022-04-07 14:18:02 +0000
commit36af768c131f6c253d4844a9780300525876fd8c (patch)
tree28f32b3e91a0ed72b33a68c99166b4ca7862d1da /synapse/federation
parentDo not add groups to sync results if disabled. (#12408) (diff)
downloadsynapse-36af768c131f6c253d4844a9780300525876fd8c.tar.xz
Fix fetching public rooms over federation (#12410)
Broke by #12364
Diffstat (limited to 'synapse/federation')
-rw-r--r--synapse/federation/transport/client.py2
1 files changed, 1 insertions, 1 deletions
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]