Merge pull request #2837 from matrix-org/rav/fix_quarantine_media

Fix sql error in quarantine_media
This commit is contained in:
Richard van der Hoff 2018-02-01 11:45:58 +01:00 committed by GitHub
commit 77c0629ebc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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)