Use stable prefixes MSC3827 (#9092)
This commit is contained in:
parent
0357b4f0dc
commit
8379f5624e
4 changed files with 8 additions and 8 deletions
|
@ -90,9 +90,9 @@ export const usePublicRoomDirectory = () => {
|
|||
|
||||
if (query || roomTypes) {
|
||||
opts.filter = {
|
||||
"generic_search_term": query,
|
||||
"org.matrix.msc3827.room_types": await MatrixClientPeg.get().doesServerSupportUnstableFeature(
|
||||
"org.matrix.msc3827",
|
||||
generic_search_term: query,
|
||||
room_types: await MatrixClientPeg.get().doesServerSupportUnstableFeature(
|
||||
"org.matrix.msc3827.stable",
|
||||
) ? Array.from<RoomType | null>(roomTypes) : null,
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue