Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Public room directory response should allow for extra fields #694

Open
Half-Shot opened this issue Sep 20, 2020 · 3 comments
Open

Public room directory response should allow for extra fields #694

Half-Shot opened this issue Sep 20, 2020 · 3 comments
Labels
improvement An idea/future MSC for the spec

Comments

@Half-Shot
Copy link
Contributor

The public room directory response currently allows a static set of keys for each room entry. It would be good to be able to extend this field-set optionally without having to go off spec, in the same way we allow events to be of any type and contain any content.

For instance, information from MSC2346 could be included to announce bridges in public rooms. Being able to include arbitrary state would be useful. While this information would be impossible to verify, it's no worse than already trusting the avatar/topic/name.

@turt2live
Copy link
Member

any JSON response can be extended with a namespaced key - what is the ask here?

@richvdh richvdh transferred this issue from matrix-org/matrix-spec-proposals Mar 1, 2022
@bkil
Copy link

bkil commented Mar 3, 2022

I think we might want to create a meta-issue or label to deal with improving the public room directory and explorer. I found the following other issues so far:

What I would find useful to see next to each result at the Explore Rooms tab:

  • Whether the new joiner could read back history to access previously built up knowledge base
  • Whether the new joiner would have permission to speak
  • Whether the room has live moderators: how many members have PL good enough for moderating, from these, what is the date of the most recent read receipt or sent event
  • What is the estimated event rate within say the last week - I would most of the times rank results based on this one instead of membership count
  • What is the active membership count within the room (those who have sent any event or read receipt within the last month)
  • What kind of bridges, bots and other integrations are hooked up to the room, even if only marked by icons
  • A URL to the privacy policy (logging, analytics), terms of service and code of conduct of the room that one needs to accept before speaking
  • Whether it is a space or a non-space room
  • Spaces that the room is part of (and/or which the room would like to advertise by hand)
  • Languages spoken within the room (the primary one and others as well)

It would be worth it to provide a search filter for some of these as well.

@turt2live
Copy link
Member

In an ideal world, the room directory just disappears and becomes room peeking and/or a space. That is significantly harder than defining some stripped_state which should be returned.

@turt2live turt2live added the improvement An idea/future MSC for the spec label May 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement An idea/future MSC for the spec
Projects
None yet
Development

No branches or pull requests

3 participants