Skip to content

Add experimental support for MSC4502: Targeted and unrestricted room member queries#19974

Open
Johennes wants to merge 4 commits into
element-hq:developfrom
Johennes:johannes/is_joined
Open

Add experimental support for MSC4502: Targeted and unrestricted room member queries#19974
Johennes wants to merge 4 commits into
element-hq:developfrom
Johennes:johannes/is_joined

Conversation

@Johennes

@Johennes Johennes commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

This is another stopgap towards https://github.com/element-hq/voip-internal/issues/641 and adds experimental support for MSC4502.

This adds a new endpoint /rooms/{roomId}/is_joined to query if a user or server is joined to a room known to the homeserver. Access to the endpoint is guarded behind a new OAuth scope that can be assigned when registering application services.

I have split the changes up into three commits to simplify the review.

  • Pull request is based on the develop branch
  • Pull request includes a changelog file. The entry should:
    • Be a short description of your change which makes sense to users. "Fixed a bug that prevented receiving messages from other servers." instead of "Moved X method from EventStore to EventWorkerStore.".
    • Use markdown where necessary, mostly for code blocks.
    • End with either a period (.) or an exclamation mark (!).
    • Start with a capital letter.
    • Feel free to credit yourself, by adding a sentence "Contributed by @github_username." or "Contributed by [Your Name]." to the end of the entry.
  • Code style is correct (run the linters)

Johennes added 4 commits July 17, 2026 10:16
Signed-off-by: Johannes Marbach <n0-0ne+github@mailbox.org>
Signed-off-by: Johannes Marbach <n0-0ne+github@mailbox.org>
Signed-off-by: Johannes Marbach <n0-0ne+github@mailbox.org>
Signed-off-by: Johannes Marbach <n0-0ne+github@mailbox.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants