parent
1a90c1e3af
commit
36af768c13
|
@ -0,0 +1 @@
|
||||||
|
Fix a spec compliance issue where requests to the `/publicRooms` federation API would specify `limit` as a string.
|
|
@ -509,7 +509,7 @@ class TransportLayerClient:
|
||||||
if third_party_instance_id:
|
if third_party_instance_id:
|
||||||
args["third_party_instance_id"] = (third_party_instance_id,)
|
args["third_party_instance_id"] = (third_party_instance_id,)
|
||||||
if limit:
|
if limit:
|
||||||
args["limit"] = [limit]
|
args["limit"] = [str(limit)]
|
||||||
if since_token:
|
if since_token:
|
||||||
args["since"] = [since_token]
|
args["since"] = [since_token]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue