Add memberships admin API#19260
Merged
Merged
Conversation
b5263c3 to
f845b3f
Compare
f845b3f to
a9f0db8
Compare
a9f0db8 to
ded0f1f
Compare
MatMaul
commented
Dec 2, 2025
anoadragon453
requested changes
Dec 11, 2025
Member
anoadragon453
left a comment
There was a problem hiding this comment.
I think this is mostly good to go. Useful functionality, thanks!
Mostly wording changes and a slight change to the response body below.
Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
844629f to
6328b64
Compare
anoadragon453
approved these changes
Dec 12, 2025
Member
anoadragon453
left a comment
There was a problem hiding this comment.
This now LGTM. Thank you for helping improve T&S! 💯
| are returned. | ||
| which is a list of room membership states for the given user. This endpoint can | ||
| be used with both local and remote users, with the caveat that the homeserver will | ||
| only be aware of the memberships for rooms one of its local users has joined. |
Member
There was a problem hiding this comment.
Suggested change
| only be aware of the memberships for rooms one of its local users has joined. | |
| only be aware of the memberships for rooms that one of its local users has joined. |
Member
There was a problem hiding this comment.
Done manually at 048629d as I wasn't able to edit your branch.
Member
|
CI failures are due to Complement test flakes. Merging manually. |
anoadragon453
added a commit
that referenced
this pull request
Dec 12, 2025
context: #19260 (comment)
FrenchGithubUser
added a commit
to famedly/synapse
that referenced
this pull request
Jan 19, 2026
# Famedly Synapse Release v1.145.0_1 ### Famedly Additions for v1.145.0_1 - fix: typo in changelog (FrenchGithubUser) - chore: remove dependabot config as we use renovate instead (FrenchGithubUser) - chore: bump Github actions versions in Famedly workflows ([\#229](#229)) (jason-famedly) Checklist: - depends on: famedly/complement#9 ### Notes for Famedly: - **Add memberships endpoint to the admin API. This is useful for forensics and T&S purposes. (element-hq/synapse#19260 - **Server admins can bypass the quarantine media check when downloading media by setting the admin_unsafely_bypass_quarantine query parameter to true on Client-Server API media download requests. (element-hq/synapse#19275 - **Admin API: add worker support to GET /_synapse/admin/v2/users/<user_id>. (element-hq/synapse#19281 - **Add rate limit conf to user directory endpoint (element-hq/synapse#19291
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add
membershipsendpoint to the admin API. This is useful for forensics and T&S purpose.Pull Request Checklist
EventStoretoEventWorkerStore.".code blocks.