Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Merge pull request #2837 from matrix-org/rav/fix_quarantine_media
Browse files Browse the repository at this point in the history
Fix sql error in quarantine_media
  • Loading branch information
richvdh authored Feb 1, 2018
2 parents 78e7e05 + 773f0ee commit 77c0629
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synapse/storage/room.py
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ def _get_media_ids_in_room(txn):
"""
UPDATE remote_media_cache
SET quarantined_by = ?
WHERE media_origin AND media_id = ?
WHERE media_origin = ? AND media_id = ?
""",
(
(quarantined_by, origin, media_id)
Expand Down

0 comments on commit 77c0629

Please sign in to comment.