Fix sql error in quarantine_media

This commit is contained in:
Richard van der Hoff 2018-01-30 15:02:51 +00:00
parent 4c65b98e4a
commit 773f0eed1e
1 changed files with 1 additions and 1 deletions

View File

@ -589,7 +589,7 @@ class RoomStore(SQLBaseStore):
"""
UPDATE remote_media_cache
SET quarantined_by = ?
WHERE media_origin AND media_id = ?
WHERE media_origin = ? AND media_id = ?
""",
(
(quarantined_by, origin, media_id)