From 14a83fa4c043a781b9390d871aafdac946e320be Mon Sep 17 00:00:00 2001 From: Brendan Abolivier Date: Fri, 2 Aug 2019 13:56:44 +0200 Subject: [PATCH] Typo --- synapse/storage/room.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/synapse/storage/room.py b/synapse/storage/room.py index 198612cf1c69..9cfa19d8dc70 100644 --- a/synapse/storage/room.py +++ b/synapse/storage/room.py @@ -246,7 +246,7 @@ def _background_insert_retention(self, progress, batch_size): def _background_insert_retention_txn(txn): txn.execute( """ - SELECT r.room_id, e.json FROM rooms + SELECT rooms.room_id, events.json FROM rooms LEFT OUTER JOIN current_state_events AS state ON ( rooms.room_id = state.room_id AND state.type = '%s'