Improve compliance with MSC3266#4155
Improve compliance with MSC3266#4155toger5 merged 15 commits intomatrix-org:developfrom AndrewFerr:msc-3266-compliance
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 |
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. |
|
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/exportedsymbols have accurate TSDoc documentation.