Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

ModuleApi: Should threepid properties validate_at and added_at be 0? #7699

Open
anoadragon453 opened this issue Jun 15, 2020 · 0 comments
Open
Labels
T-Other Questions, user support, anything else. z-p3 (Deprecated Label)

Comments

@anoadragon453
Copy link
Member

This was spun out of #7684

When ModuleApi.register() has emails= set to some emails, those emails are created and added to the new user's account.

However, in the database validated_at and added_at are set to 0, which some other may misinterpret.

Is this intentional or an oversight?

I've at least added the behaviour to a test here: https://github.com/matrix-org/synapse/pull/7684/files#diff-f7ba2d6448431a208d9b515b904ed854R49-R50 Which should be updated as part of closing this issue.

@anoadragon453 anoadragon453 changed the title ModuleApi: Should threepid properties validate_at and added_at be 0 ModuleApi: Should threepid properties validate_at and added_at be 0? Jun 15, 2020
@clokep clokep added the z-p3 (Deprecated Label) label Jun 15, 2020
@reivilibre reivilibre added the T-Other Questions, user support, anything else. label May 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
T-Other Questions, user support, anything else. z-p3 (Deprecated Label)
Projects
None yet
Development

No branches or pull requests

3 participants