summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
Diffstat (limited to 'synapse')
-rw-r--r--synapse/state.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/state.py b/synapse/state.py
index c1ce46d1b2..8a635f1cc1 100644
--- a/synapse/state.py
+++ b/synapse/state.py
@@ -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