-
-
Notifications
You must be signed in to change notification settings - Fork 590
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
Improve compliance with MSC3266 #4155
Conversation
Also remove redundant room_type field which is inherited from elsewhere
Use the endpoint recommended by the MSC
Please improve the PR title given it will be used in the changelog verbatim |
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.
Looks sane otherwise
Done -- let me know if the title still needs changing. I am also willing to add an integration test for this. |
Yeah looks like CI won't let it in without testing |
Good thing CI is strict, because this PR requires a Synapse change too: element-hq/synapse#17078 |
So we'll likely need fallback code then |
The Synapse PR has a fallback: it responds to both the old & new endpoint used by Then again, |
Hm, even with the integration test, the code analysis check is failing. What needs to be added to fix that? Other than that, bd09442 adds the fallback, so once the check is fixed, this should PR be ready. |
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.
Looks sane
Alright, code coverage for new code is now at 100%, so this should be done. |
Do I need to rebase this PR branch before it can be merged? |
This fixes some non-compliance with MSC 3266, and exports the payload type.
Signed-off-by: Andrew Ferrazzutti andrewf@element.io
Checklist
public
/exported
symbols have accurate TSDoc documentation.