Fix quarantine media admin API

pull/3130/head
Erik Johnston 2018-04-25 15:11:18 +01:00
parent 1bb83d5d41
commit ba3166743c
1 changed files with 1 additions and 1 deletions

View File

@ -595,7 +595,7 @@ class RoomStore(RoomWorkerStore, SearchStore):
while next_token:
sql = """
SELECT stream_ordering, json FROM events
JOIN event_json USING (event_id)
JOIN event_json USING (room_id, event_id)
WHERE room_id = ?
AND stream_ordering < ?
AND contains_url = ? AND outlier = ?