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

Remember mappings when we bind a 3pid using the internal sydent bind API #66

Merged
merged 3 commits into from
Oct 14, 2020

Conversation

anoadragon453
Copy link
Member

@anoadragon453 anoadragon453 commented Oct 9, 2020

#51 added an option that would automatically bind a user's threepid to a configured identity server after they had registered. Unfortunately, when you bind threepids, ideally you would store that mapping in the database so that later on you can remove those mappings when you deactivate an account.

We found that due the fact that we did not store these mappings, threepids were not unbound upon user account deactivation.

This PR fixes the issue by creating the mappings again, meaning they will again be removed upon account deactivation.

@anoadragon453 anoadragon453 requested a review from a team October 9, 2020 10:37
Copy link
Member

@erikjohnston erikjohnston left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems legit

@anoadragon453 anoadragon453 merged commit a2b8233 into dinsic Oct 14, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants