Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 60e2ce0

Browse files
author
David Robertson
committed
Allow context=None in _add_device_outbound_poke_to_stream_txn
1 parent 8395995 commit 60e2ce0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

synapse/storage/databases/main/devices.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1728,7 +1728,7 @@ def _add_device_outbound_poke_to_stream_txn(
17281728
device_ids: Iterable[str],
17291729
hosts: Collection[str],
17301730
stream_ids: List[int],
1731-
context: Dict[str, str],
1731+
context: Optional[Dict[str, str]],
17321732
) -> None:
17331733
for host in hosts:
17341734
txn.call_after(

0 commit comments

Comments
 (0)