Apply federation check for /publicRooms with filter list (#7367)
This commit is contained in:
parent
37f6823f5b
commit
9d8ecc9e6c
|
@ -0,0 +1 @@
|
|||
Prevent non-federating rooms from appearing in responses to federated `POST /publicRoom` requests when a filter was included.
|
|
@ -90,7 +90,11 @@ class RoomListHandler(BaseHandler):
|
|||
logger.info("Bypassing cache as search request.")
|
||||
|
||||
return self._get_public_room_list(
|
||||
limit, since_token, search_filter, network_tuple=network_tuple
|
||||
limit,
|
||||
since_token,
|
||||
search_filter,
|
||||
network_tuple=network_tuple,
|
||||
from_federation=from_federation,
|
||||
)
|
||||
|
||||
key = (limit, since_token, network_tuple)
|
||||
|
|
Loading…
Reference in New Issue