Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Lint.
  • Loading branch information
clokep committed May 4, 2023
commit 64bb9f54c28900665300cf201dd2fad33d63fac3
2 changes: 1 addition & 1 deletion synapse/handlers/device.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ async def on_federation_query_user_devices(self, user_id: str) -> JsonDict:
# Check if the application services have any results.
if self._query_appservices_for_keys:
# Query the appservice for all devices for this user.
query: Dict[str, List[str]] = {user_id: None}
query: Dict[str, Optional[List[str]]] = {user_id: None}

# Query the appservices for any keys.
appservice_results = await self._appservice_handler.query_keys(query)
Expand Down