mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-09-07 22:52:01 +00:00
Merge pull request #2837 from matrix-org/rav/fix_quarantine_media
Fix sql error in quarantine_media
This commit is contained in:
commit
77c0629ebc
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user