0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-14 12:03:50 +01:00

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)