mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04:00
Comment
This commit is contained in:
parent
1c3d844e73
commit
53f0bf85d7
@ -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…
Reference in New Issue
Block a user