mirror of
https://mau.dev/maunium/synapse.git
synced 2024-11-16 15:01:23 +01:00
Fix typo in conditional
This commit is contained in:
parent
0b300d323a
commit
a297ff2b16
1 changed files with 1 additions and 1 deletions
|
@ -576,7 +576,7 @@ class EventsStore(EventsWorkerStore):
|
||||||
for ev, ctx in events_context:
|
for ev, ctx in events_context:
|
||||||
if ctx.state_group is None:
|
if ctx.state_group is None:
|
||||||
# This should only happen for outlier events.
|
# This should only happen for outlier events.
|
||||||
if not event.internal_metadata.is_outlier():
|
if not ev.internal_metadata.is_outlier():
|
||||||
raise Exception(
|
raise Exception(
|
||||||
"Context for new event %s has no state "
|
"Context for new event %s has no state "
|
||||||
"group" % (ev.event_id, ),
|
"group" % (ev.event_id, ),
|
||||||
|
|
Loading…
Reference in a new issue