From ce9cac3d9f23333808c25ca06234eee3fe093af0 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Fri, 11 Dec 2020 23:36:49 -0800 Subject: [PATCH] modules/federation/publicrooms: Remove constraint on pagination token. (thanks @auscompgeek) --- modules/federation/publicrooms.cc | 6 ------ 1 file changed, 6 deletions(-) diff --git a/modules/federation/publicrooms.cc b/modules/federation/publicrooms.cc index b4a874fec..87d210d66 100644 --- a/modules/federation/publicrooms.cc +++ b/modules/federation/publicrooms.cc @@ -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")?