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

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)