Open tgurr opened 2 years ago
The reason is, that this are different APIs with different return values. The room directory is the public API: https://spec.matrix.org/v1.2/client-server-api/#get_matrixclientv3publicrooms And the room list is an admin API: https://matrix-org.github.io/synapse/latest/admin_api/rooms.html#list-room-api
The server admin gets mor information than a normal user.
The reason is, that this are different APIs with different return values. The room directory is the public API: https://spec.matrix.org/v1.2/client-server-api/#get_matrixclientv3publicrooms And the room list is an admin API: https://matrix-org.github.io/synapse/latest/admin_api/rooms.html#list-room-api
The server admin gets mor information than a normal user.
Thanks, that explains why it's not possible to replicate 1:1 between the two, but room_id
, topic
and canonical_alias
filters from rooms_directory
could still be added to rooms
right? Might change the issue topic for the request to rather "add missing selectable filters present in rooms_directory to rooms" then.
rooms
androoms_directory
have different selectable filters, while it would be handy to filter for e.g.theme/thema
and probably others onrooms
as well since rooms_directory only gives a partly list to filter on.