-
-
Notifications
You must be signed in to change notification settings - Fork 829
Make auth argument in the register request compliant with r0.6.0 #4347
Make auth argument in the register request compliant with r0.6.0 #4347
Conversation
…so accepted null for the auth part of the registration request object Took 18 minutes
@turt2live any chance that you can give me a hint why the dialog in the end to end tests might be affected by my change? I don't really see the connection but I might miss something |
Looks like it isn't, just our tests being flakey |
Ok I dont have any further commits in that case :) |
Co-Authored-By: Travis Ralston <[email protected]>
…d be auth: {} Took 16 minutes
… into fix-register-auth-with-new-spec
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.
Thanks!
@turt2live no problem. Will fix the comment on the js-sdk companion pr too. But I think that will take longer as I need to find where this specific case actually happens. Looking at this now I realise that that check was more a hack than a solution ^^ |
Took 3 minutes
… into fix-register-auth-with-new-spec
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.
Thanks, looks reasonable to me! 😁
(Merged now as this was our last release blocker, and I'd like to start the RC process.) |
Web PR: matrix-org/matrix-react-sdk#4347 Signed-off-by: Aaron Raimist <[email protected]>
This change requires: matrix-org/matrix-js-sdk#1304
This fix is tested with synapse and works fine on matrix.org!
This fix is required for https://git.koesters.xyz/timo/matrixserver which implements the r0.6.0 spec. In that spec version it says that auth shouldn't be
auth: {}
but rather not be present. This fix should fix this. I tested it both with synapse and the linked server to check that everything still worksSigned-off-by: Marcel Radzio[email protected]