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:
parent
771bb45537
commit
ce9cac3d9f
1 changed files with 0 additions and 6 deletions
|
@ -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")?
|
||||
|
|
Loading…
Reference in a new issue