mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-26 01:39:23 -05:00
parent
1a90c1e3af
commit
36af768c13
1
changelog.d/12410.bugfix
Normal file
1
changelog.d/12410.bugfix
Normal file
@ -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
Block a user