Skip to content
Snippets Groups Projects
Commit 661b7661 authored by Mark Haines's avatar Mark Haines
Browse files

Merge pull request #445 from matrix-org/markjh/rebind_threepid

Allow users to change which account a 3pid is bound to
parents 63fdd9fe dcfc70e8
No related branches found
No related tags found
No related merge requests found
......@@ -258,10 +258,10 @@ class RegistrationStore(SQLBaseStore):
@defer.inlineCallbacks
def user_add_threepid(self, user_id, medium, address, validated_at, added_at):
yield self._simple_upsert("user_threepids", {
"user_id": user_id,
"medium": medium,
"address": address,
}, {
"user_id": user_id,
"validated_at": validated_at,
"added_at": added_at,
})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment