mirror of
https://github.com/element-hq/synapse.git
synced 2026-11-12 05:37:48 +00:00
Allow users to change which account a 3pid is bound to
This commit is contained in:
1 parent
63fdd9fe0b
commit
dcfc70e8ed
1 file changed
+1
-1
@@ -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,
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user