Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
This repository was 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

@anoadragon453

Description

@anoadragon453

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-OtherQuestions, user support, anything else.z-p3(Deprecated Label)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions