publicRooms endpoint does not filter by room type #697
Labels
No labels
Abandoned
Blocked
Bug
Changelog
Added
Changelog
Missing
Changelog
None
Cherry-picking
Compliance
Database
Dependencies
Dependencies/Renovate
Difficulty
Easy
Difficulty
Hard
Difficulty
Medium
Documentation
Enhancement
Good first issue
Help wanted
Inherited
Matrix/Administration
Matrix/Appservices
Matrix/Auth
Matrix/Client
Matrix/Core
Matrix/E2EE
Matrix/Federation
Matrix/Hydra
Matrix/MSC
Matrix/Media
Matrix/T&S
Merge
Merge/Manual
Merge/Squash
Meta
Meta/CI
Meta/Packaging
Priority
Blocking
Priority
High
Priority
Low
Security
Status
Confirmed
Status
Duplicate
Status
Invalid
Status
Needs Investigation
Support
bob the builder
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
continuwuation/continuwuity#697
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Conduwuit's implementation of the
publicRoomsendpoint ignores theroom_typesfield when filtering local rooms, causing clients like Cinny to always return both rooms and spaces regardless of which room type is selected to filter by. Specifically,api::client::directory::get_public_rooms_filtered_helperdoes not checkfilter.room_typeswhen filtering the server's public rooms.Conduwuit does appear to correctly pass
filter.room_typesto remote servers when looking up a room directory over federation; however, I observed that Cinny's filtering options were broken for both local and remote rooms. I'm unsure what causes this behavior.room_typesfilter on thePOST /publicRoomsendpoint (MSC3827) #2619