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

Commit

Permalink
Fix the types of stream_id.
Browse files Browse the repository at this point in the history
  • Loading branch information
clokep committed Oct 5, 2020
1 parent 914d570 commit d3d707f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions synapse/storage/databases/main/devices.py
Original file line number Diff line number Diff line change
Expand Up @@ -955,7 +955,7 @@ async def update_device(
)

async def update_remote_device_list_cache_entry(
self, user_id: str, device_id: str, content: JsonDict, stream_id: int
self, user_id: str, device_id: str, content: JsonDict, stream_id: str
) -> None:
"""Updates a single device in the cache of a remote user's devicelist.
Expand Down Expand Up @@ -983,7 +983,7 @@ def _update_remote_device_list_cache_entry_txn(
user_id: str,
device_id: str,
content: JsonDict,
stream_id: int,
stream_id: str,
) -> None:
if content.get("deleted"):
self.db_pool.simple_delete_txn(
Expand Down

0 comments on commit d3d707f

Please sign in to comment.