mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-05 01:35:07 -04:00
Fix providing a RoomStreamToken
instance to _notify_app_services_ephemeral
(#11137)
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
This commit is contained in:
parent
7537201840
commit
c9c3aea9b1
5 changed files with 30 additions and 37 deletions
|
@ -427,7 +427,7 @@ class DeviceWorkerStore(SQLBaseStore):
|
|||
user_ids: the users who were signed
|
||||
|
||||
Returns:
|
||||
THe new stream ID.
|
||||
The new stream ID.
|
||||
"""
|
||||
|
||||
async with self._device_list_id_gen.get_next() as stream_id:
|
||||
|
@ -1322,7 +1322,7 @@ class DeviceStore(DeviceWorkerStore, DeviceBackgroundUpdateStore):
|
|||
|
||||
async def add_device_change_to_streams(
|
||||
self, user_id: str, device_ids: Collection[str], hosts: List[str]
|
||||
):
|
||||
) -> int:
|
||||
"""Persist that a user's devices have been updated, and which hosts
|
||||
(if any) should be poked.
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue