1
0
This commit is contained in:
H. Shay
2022-11-08 11:44:26 -08:00
parent 060c1a153c
commit 143211fa26

View File

@@ -464,9 +464,7 @@ class StateHandler:
# the context should have been updated when storing the state groups but let's
# be sure - if it does not have a state group there is a problem
if context._state_group is None:
raise RuntimeError(
f"Event {event.event_id} is missing a state group."
)
raise RuntimeError(f"Event {event.event_id} is missing a state group.")
current_state_group = context._state_group
key = (event.type, event.state_key)