Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Show knock rooms in the public room directory and inform clients they can be knocked on #82

Merged
merged 2 commits into from
Feb 10, 2021

Conversation

anoadragon453
Copy link
Member

This PR implements the "Changes regarding the Public Rooms Directory" section of knocking MSC2403.

Specifically, it:

  • Allows rooms with join_rule "knock" to be returned by the query behind the public rooms directory
  • Adds the field join_rule to each room entry returned by a public rooms directory query, so clients can know whether to attempt a join or knock on a room

This PR is a clone of the mainline PR. Complement tests for this change: matrix-org/complement#72. I'm currently waiting for the Complement tests to merge before merging here.

@anoadragon453 anoadragon453 merged commit d180754 into dinsic Feb 10, 2021
@anoadragon453 anoadragon453 deleted the anoa/knock_public_rooms branch February 10, 2021 14:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant