Skip to content

fix: Third party identifiers parsing#33

Merged
zecakeh merged 1 commit into
ruma:mainfrom
gnieto:fix/threepids
May 5, 2025
Merged

fix: Third party identifiers parsing#33
zecakeh merged 1 commit into
ruma:mainfrom
gnieto:fix/threepids

Conversation

@gnieto
Copy link
Copy Markdown
Contributor

@gnieto gnieto commented Apr 15, 2025

Current version requires that third party ids contains the fields validated_at and added_at, but Synapse admin API documentation does not list those fields for create_or_modify endpoint: https://element-hq.github.io/synapse/latest/admin_api/user_admin_api.html#create-or-modify-account

Since those fields are currently required, the endpoint may fail to deserialize legitimate requests which do not send the mentioned fields.

Comment thread CHANGELOG.md Outdated
Current version requires that third party ids contains the fields
`validated_at` and `added_at`, but Synapse admin API documentation does
not list those fields in `create_or_modify` endpoint: https://element-hq.github.io/synapse/latest/admin_api/user_admin_api.html#create-or-modify-account

Since those fields are currently required, the endpoint may fail to
deserialize legitimate requests.
@zecakeh zecakeh merged commit 76b03f7 into ruma:main May 5, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants