mirror of
https://github.com/element-hq/synapse.git
synced 2025-03-31 03:45:13 +00:00
More types
This commit is contained in:
parent
4ea8507bbd
commit
9ba2c7030b
2 changed files with 2 additions and 2 deletions
|
@ -575,7 +575,7 @@ class SlidingSyncHandler:
|
|||
to_token: StreamToken,
|
||||
newly_joined: bool,
|
||||
is_dm: bool,
|
||||
room_receipts: Sequence[ReceiptInRoom],
|
||||
room_receipts: Optional[Sequence[ReceiptInRoom]],
|
||||
) -> SlidingSyncResult.RoomResult:
|
||||
"""
|
||||
Fetch room data for the sync response.
|
||||
|
|
|
@ -740,7 +740,7 @@ class SlidingSyncRoomLists:
|
|||
previous_connection_state: PerConnectionState,
|
||||
from_token: Optional[StreamToken],
|
||||
to_token: StreamToken,
|
||||
relevant_room_map: Dict[str, RoomSyncConfig],
|
||||
relevant_room_map: Mapping[str, RoomSyncConfig],
|
||||
receipts: Mapping[str, Sequence[ReceiptInRoom]],
|
||||
) -> Dict[str, RoomSyncConfig]:
|
||||
"""Filters the `relevant_room_map` down to those rooms that may have
|
||||
|
|
Loading…
Add table
Reference in a new issue