diff options
Diffstat (limited to 'synapse/rest')
-rw-r--r-- | synapse/rest/admin/media.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/admin/media.py b/synapse/rest/admin/media.py index 3a445d6eed..ee75095c0e 100644 --- a/synapse/rest/admin/media.py +++ b/synapse/rest/admin/media.py @@ -36,7 +36,7 @@ class QuarantineMediaInRoom(RestServlet): historical_admin_path_patterns("/room/(?P<room_id>[^/]+)/media/quarantine") + # This path kept around for legacy reasons - historical_admin_path_patterns("/quarantine_media/(?P<room_id>![^/]+)") + historical_admin_path_patterns("/quarantine_media/(?P<room_id>[^/]+)") ) def __init__(self, hs): |