0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-11-12 04:52:26 +01:00

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

View file

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