summary refs log tree commit diff
path: root/synapse/state.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-01-30 14:37:19 +0000
committerErik Johnston <erik@matrix.org>2015-01-30 14:37:31 +0000
commit3d7026e709b145378a6b8a37404910951ef682b3 (patch)
tree230cd886f23bc8cdfe85927ba8314459beadc05d /synapse/state.py
parentMerge branch 'develop' of github.com:matrix-org/synapse into new_state_resolu... (diff)
downloadsynapse-3d7026e709b145378a6b8a37404910951ef682b3.tar.xz
Add a slightly more helpful comment
Diffstat (limited to 'synapse/state.py')
-rw-r--r--synapse/state.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/state.py b/synapse/state.py
index dff11711a6..081bc31bb5 100644
--- a/synapse/state.py
+++ b/synapse/state.py
@@ -296,7 +296,8 @@ class StateHandler(object):
             except AuthError:
                 pass
 
-        # Oh dear.
+        # Use the last event (the one with the least depth) if they all fail
+        # the auth check.
         return event
 
     def _ordered_events(self, events):