diff options
author | Richard van der Hoff <richard@matrix.org> | 2016-07-26 23:38:12 +0100 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2016-07-26 23:38:12 +0100 |
commit | 2e3d90d67c8255300b226d6d2fdc2acef80e58ba (patch) | |
tree | d47084218dcb2e4047482627956c4b03d8fbd86d /synapse/storage/openid.py | |
parent | Merge pull request #953 from matrix-org/rav/requester (diff) | |
download | synapse-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/openid.py')
0 files changed, 0 insertions, 0 deletions