mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-07-27 20:05:18 -04:00
Type annotations in synapse.databases.main.devices
(#13025)
Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com>
This commit is contained in:
parent
0d1d3e0708
commit
97e9fbe1b2
5 changed files with 36 additions and 21 deletions
|
@ -195,6 +195,7 @@ class DataStore(
|
|||
self._min_stream_order_on_start = self.get_room_min_stream_ordering()
|
||||
|
||||
def get_device_stream_token(self) -> int:
|
||||
# TODO: shouldn't this be moved to `DeviceWorkerStore`?
|
||||
return self._device_list_id_gen.get_current_token()
|
||||
|
||||
async def get_users(self) -> List[JsonDict]:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue