summary refs log tree commit diff
path: root/synapse/storage
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-01-26 10:45:24 +0000
committerErik Johnston <erik@matrix.org>2015-01-26 10:45:24 +0000
commit7b8861924130821c1bbd05ce65260209a993f759 (patch)
treec0be3fd5e8ddbf89bbd7607b07c97c111b10b71b /synapse/storage
parentMerge branch 'develop' of github.com:matrix-org/synapse into rejections (diff)
downloadsynapse-7b8861924130821c1bbd05ce65260209a993f759.tar.xz
Split up replication_layer module into client, server and transaction queue
Diffstat (limited to 'synapse/storage')
-rw-r--r--synapse/storage/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/__init__.py b/synapse/storage/__init__.py
index 4f09909607..27d835db79 100644
--- a/synapse/storage/__init__.py
+++ b/synapse/storage/__init__.py
@@ -434,7 +434,7 @@ class DataStore(RoomMemberStore, RoomStore,
             sql = (
                 "SELECT e.event_id, reason FROM events as e "
                 "LEFT JOIN rejections as r ON e.event_id = r.event_id "
-                "WHERE event_id = ?"
+                "WHERE e.event_id = ?"
             )
 
             res = {}