mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-09-09 13:21:55 +00:00
Apply federation check for /publicRooms with filter list (#7367)
This commit is contained in:
parent
37f6823f5b
commit
9d8ecc9e6c
1
changelog.d/7367.bugfix
Normal file
1
changelog.d/7367.bugfix
Normal file
@ -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
Block a user