mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-03-06 04:55:49 -05:00

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.