summary refs log tree commit diff
path: root/synapse/handlers
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2023-02-09 09:49:04 -0500
committerGitHub <noreply@github.com>2023-02-09 09:49:04 -0500
commit733531ee3e695da92f10e01b24f62ee35e09e4cd (patch)
tree07488950d1c65406f968ee38c0e384be255eeb57 /synapse/handlers
parentProper types for `tests.module_api` (#15031) (diff)
downloadsynapse-733531ee3e695da92f10e01b24f62ee35e09e4cd.tar.xz
Add final type hint to synapse.server. (#15035)
Diffstat (limited to 'synapse/handlers')
-rw-r--r--synapse/handlers/room.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/room.py b/synapse/handlers/room.py
index 7ba7c4ff07..0e759b8a5d 100644
--- a/synapse/handlers/room.py
+++ b/synapse/handlers/room.py
@@ -1076,7 +1076,7 @@ class RoomCreationHandler:
         state_map: MutableStateMap[str] = {}
         # current_state_group of last event created. Used for computing event context of
         # events to be batched
-        current_state_group = None
+        current_state_group: Optional[int] = None
 
         def create_event_dict(etype: str, content: JsonDict, **kwargs: Any) -> JsonDict:
             e = {"type": etype, "content": content}