summary refs log tree commit diff
path: root/synapse/storage/room.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-04-30 18:44:47 +0100
committerErik Johnston <erik@matrix.org>2015-04-30 18:44:47 +0100
commit503e4d3d52d6b3a55c677ab14b73e6d423cf6a49 (patch)
tree91a328c8c0354a37f795c37a36a8060c7f6e07fd /synapse/storage/room.py
parentNeed more yield (diff)
downloadsynapse-503e4d3d52d6b3a55c677ab14b73e6d423cf6a49.tar.xz
Fix broken SQL
Diffstat (limited to '')
-rw-r--r--synapse/storage/room.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/room.py b/synapse/storage/room.py
index 2b1864a82f..f956377632 100644
--- a/synapse/storage/room.py
+++ b/synapse/storage/room.py
@@ -190,7 +190,7 @@ class RoomStore(SQLBaseStore):
     def get_room_name_and_aliases(self, room_id):
         def f(txn):
             sql = (
-                "SELECT event_id FROM events current_state_events "
+                "SELECT event_id FROM current_state_events "
                 "WHERE room_id = ? "
             )