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:57:33 +0000
committerErik Johnston <erik@matrix.org>2015-01-30 14:57:33 +0000
commitfdd2ac495a6da1bce765fc008e9d9bc114451458 (patch)
tree576bc559059b0847d2559f3c5dd00de9cf4bf83f /synapse/state.py
parentBe more specific in naming columns in selects. (diff)
parentMerge pull request #37 from matrix-org/client_v2_filter (diff)
downloadsynapse-fdd2ac495a6da1bce765fc008e9d9bc114451458.tar.xz
Merge branch 'develop' of github.com:matrix-org/synapse into rejections_storage
Conflicts:
	synapse/storage/__init__.py
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):