diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2021-08-18 09:22:07 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-18 09:22:07 -0400 |
commit | bec01c075829730cf467572e2fcf93e15372b0e9 (patch) | |
tree | f644f343dec9e9d3c71c266e1afd37dc2872a8b2 /synapse/handlers/initial_sync.py | |
parent | Display an error page during failure of fallback UIA. (#10561) (diff) | |
download | synapse-bec01c075829730cf467572e2fcf93e15372b0e9.tar.xz |
Convert room member storage tuples to attrs. (#10629)
Instead of using namedtuples. This helps with asserting type hints and code completion.
Diffstat (limited to 'synapse/handlers/initial_sync.py')
-rw-r--r-- | synapse/handlers/initial_sync.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/initial_sync.py b/synapse/handlers/initial_sync.py index e1c544a3c9..4e8f7f1d85 100644 --- a/synapse/handlers/initial_sync.py +++ b/synapse/handlers/initial_sync.py @@ -151,7 +151,7 @@ class InitialSyncHandler(BaseHandler): limit = 10 async def handle_room(event: RoomsForUser): - d = { + d: JsonDict = { "room_id": event.room_id, "membership": event.membership, "visibility": ( |