summary refs log tree commit diff
path: root/tests/test_state.py
diff options
context:
space:
mode:
authorAndrew Morgan <1342360+anoadragon453@users.noreply.github.com>2020-10-14 11:18:29 +0100
committerGitHub <noreply@github.com>2020-10-14 11:18:29 +0100
commita2b8233a4e97b9eba9dda979851781f54757436b (patch)
tree0e395f311472277df9d41ece895737c960129358 /tests/test_state.py
parent"Freeze" a room when the last admin of that room leaves (#59) (diff)
downloadsynapse-a2b8233a4e97b9eba9dda979851781f54757436b.tar.xz
Remember mappings when we bind a 3pid using the internal sydent bind API (#66)
https://github.com/matrix-org/synapse-dinsic/pull/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.
Diffstat (limited to 'tests/test_state.py')
0 files changed, 0 insertions, 0 deletions