mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-25 02:55:46 +03: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()
|
||||
|
||||
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:
|
||||
context.current_state = {
|
||||
(s.type, s.state_key): s for s in old_state
|
||||
|
|
Loading…
Reference in a new issue