-
Notifications
You must be signed in to change notification settings - Fork 2
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
First cut of the a module to derive usernames from 3PIDs #1
Conversation
Fair, but FWIW I think one of the mypy errors would be fixed by requiring the |
Ah yeah good point. |
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.
LGTM!
For the paper trail, I'm merging despite CI failing since failures are due to the reasons mentioned in the PR description. I've ran the tests and linters/mypy locally with the branch from matrix-org/synapse#11790 checked out and everything's passing. |
This is happening in the context of mainlining the fork of Synapse used for Tchap, and migrates an existing feature from the Tchap fork into a module, leveraging the callback and module API added in matrix-org/synapse#11790.
Most of the code in this module has been copied over from https://github.com/matrix-org/synapse-dinsic/blob/d1fedca096250e04c8f1b7101003f3f4cfddea9a/synapse/rest/client/register.py#L622-L670
CI is expected to fail since the callback and module API used haven't been released in Synapse yet.