Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 8b4b065

Browse files
committed
Fix fetching public rooms over federation
Broke by #12364
1 parent d1cd96c commit 8b4b065

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

synapse/federation/transport/client.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ async def get_public_rooms(
509509
if third_party_instance_id:
510510
args["third_party_instance_id"] = (third_party_instance_id,)
511511
if limit:
512-
args["limit"] = [limit]
512+
args["limit"] = [str(limit)]
513513
if since_token:
514514
args["since"] = [since_token]
515515

0 commit comments

Comments
 (0)