summary refs log tree commit diff
path: root/synapse/storage
diff options
context:
space:
mode:
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 = {}