-
- Downloads
Move and rename `get_devices_with_keys_by_user` (#8204)
* Move `get_devices_with_keys_by_user` to `EndToEndKeyWorkerStore` this seems a better fit for it. This commit simply moves the existing code: no other changes at all. * Rename `get_devices_with_keys_by_user` to better reflect what it does. * get_device_stream_token abstract method To avoid referencing fields which are declared in the derived classes, make `get_device_stream_token` abstract, and define that in the classes which define `_device_list_id_gen`.
Showing
- changelog.d/8204.misc 1 addition, 0 deletionschangelog.d/8204.misc
- synapse/handlers/device.py 3 additions, 1 deletionsynapse/handlers/device.py
- synapse/replication/slave/storage/devices.py 3 additions, 0 deletionssynapse/replication/slave/storage/devices.py
- synapse/storage/databases/main/__init__.py 3 additions, 0 deletionssynapse/storage/databases/main/__init__.py
- synapse/storage/databases/main/devices.py 5 additions, 47 deletionssynapse/storage/databases/main/devices.py
- synapse/storage/databases/main/end_to_end_keys.py 52 additions, 1 deletionsynapse/storage/databases/main/end_to_end_keys.py
Loading
Please register or sign in to comment