fix for psql

pull/8452/head
Richard van der Hoff 2020-10-02 17:31:59 +01:00
parent d29718882b
commit e8357a0df3
1 changed files with 1 additions and 1 deletions

View File

@ -822,7 +822,7 @@ class EventsWorkerStore(SQLBaseStore):
rej.reason
FROM events AS e
JOIN event_json AS ej USING (event_id)
LEFT JOIN rooms r USING (room_id)
LEFT JOIN rooms r ON r.room_id = e.room_id
LEFT JOIN rejections as rej USING (event_id)
WHERE """