-
Notifications
You must be signed in to change notification settings - Fork 248
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
Add report user API from MSC4260 #18120
base: develop
Are you sure you want to change the base?
Conversation
test failures appear unrelated |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks good
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you merge back develop & move this to the latest schema directory?
# Cast the Iterable to a list so that we can `append` below. | ||
PATTERNS = list( | ||
client_patterns( | ||
"/org.matrix.msc4260/users/(?P<target_user_id>[^/]*)/report$", | ||
releases=[], # unstable only | ||
unstable=True, | ||
v1=False, | ||
) | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like to be a copy-paste from the room report API, when it got stabilised: https://github.com/element-hq/synapse/pull/17374/files#diff-c9b74d46cac48932cc854ad791337faad187cbbdb6bd64682b1bcc7740bfc563
matrix-org/matrix-spec-proposals#4260
Pull Request Checklist
EventStore
toEventWorkerStore
.".code blocks
.(run the linters)