Skip to content
Snippets Groups Projects
Commit ba316674 authored by Erik Johnston's avatar Erik Johnston
Browse files

Fix quarantine media admin API

parent 1bb83d5d
No related branches found
No related tags found
No related merge requests found
......@@ -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 = ?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment