0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-25 08:12:37 +01:00

modules/federation/publicrooms: Remove constraint on pagination token. (thanks @auscompgeek)

This commit is contained in:
Jason Volk 2020-12-11 23:36:49 -08:00
parent 771bb45537
commit ce9cac3d9f

View file

@ -74,12 +74,6 @@ handle_get(client &client,
"Invalid since token for this server."
};
if(since && !my_host(m::room::id(since).host()))
throw m::BAD_REQUEST
{
"Invalid since token for this server."
};
const uint8_t limit
{
request.has("limit")?