summary refs log tree commit diff
diff options
context:
space:
mode:
-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 = ? "
             )