summary refs log tree commit diff
path: root/synapse/storage/registration.py
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2016-07-26 23:38:12 +0100
committerRichard van der Hoff <richard@matrix.org>2016-07-26 23:38:12 +0100
commit2e3d90d67c8255300b226d6d2fdc2acef80e58ba (patch)
treed47084218dcb2e4047482627956c4b03d8fbd86d /synapse/storage/registration.py
parentMerge pull request #953 from matrix-org/rav/requester (diff)
downloadsynapse-2e3d90d67c8255300b226d6d2fdc2acef80e58ba.tar.xz
Make the device id on e2e key upload optional
We should now be able to get our device_id from the access_token, so the
device_id on the upload request is optional. Where it is supplied, we should
check that it matches.

For active access_tokens without an associated device_id, we ought to register
the device in the devices table.

Also update the table on upgrade so that all of the existing e2e keys are
associated with real devices.
Diffstat (limited to 'synapse/storage/registration.py')
0 files changed, 0 insertions, 0 deletions