mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-04 03:14:48 -04:00
Comment
This commit is contained in:
parent
1c3d844e73
commit
53f0bf85d7
1 changed files with 3 additions and 0 deletions
|
@ -124,6 +124,9 @@ class StateHandler(object):
|
||||||
context = EventContext()
|
context = EventContext()
|
||||||
|
|
||||||
if outlier:
|
if outlier:
|
||||||
|
# If this is an outlier, then we know it shouldn't have any current
|
||||||
|
# state. Certainly store.get_current_state won't return any, and
|
||||||
|
# persisting the event won't store the state group.
|
||||||
if old_state:
|
if old_state:
|
||||||
context.current_state = {
|
context.current_state = {
|
||||||
(s.type, s.state_key): s for s in old_state
|
(s.type, s.state_key): s for s in old_state
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue