anonymousland-synapse/synapse/storage
Richard van der Hoff aa07c37cf0
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`.
2020-09-01 12:41:21 +01:00
..
databases Move and rename get_devices_with_keys_by_user (#8204) 2020-09-01 12:41:21 +01:00
engines Use SequenceGenerator for state group ID allocation 2020-07-16 11:25:08 +01:00
schema Only run one background update at a time 2020-03-31 17:43:58 +01:00
util Fix missing _add_persisted_position (#8179) 2020-08-27 13:20:34 +01:00
__init__.py Rename database classes to make some sense (#8033) 2020-08-05 21:38:57 +01:00
_base.py Be stricter about JSON that is accepted by Synapse (#8106) 2020-08-19 07:26:03 -04:00
background_updates.py Convert additional database methods to async (select list, search, insert_many, delete_*) (#8168) 2020-08-27 07:41:01 -04:00
database.py Convert simple_delete to async/await. (#8191) 2020-08-27 14:16:41 -04:00
keys.py Move storage classes into a main "data store". 2019-10-21 16:05:06 +01:00
persist_events.py Rename database classes to make some sense (#8033) 2020-08-05 21:38:57 +01:00
prepare_database.py Rename database classes to make some sense (#8033) 2020-08-05 21:38:57 +01:00
purge_events.py Convert storage layer to async/await. (#7963) 2020-07-28 16:09:53 -04:00
push_rule.py Move storage classes into a main "data store". 2019-10-21 16:05:06 +01:00
relations.py Move storage classes into a main "data store". 2019-10-21 16:05:06 +01:00
roommember.py Move storage classes into a main "data store". 2019-10-21 16:05:06 +01:00
state.py Convert state and stream stores and related code to async (#8194) 2020-08-28 09:37:55 -04:00
types.py isort 5 compatibility (#7786) 2020-07-05 16:32:02 +01:00