summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorAndrew Morgan <1342360+anoadragon453@users.noreply.github.com>2020-01-22 11:05:50 +0000
committerGitHub <noreply@github.com>2020-01-22 11:05:50 +0000
commitaa9b00fb2f9a7718d67fb11621a83035492ed9fb (patch)
tree6c0b27afd1ef6781798a140b54ddb0d743c23021 /synapse
parentAllow monthly active user limiting support for worker mode, fixes #4639. (#6742) (diff)
downloadsynapse-aa9b00fb2f9a7718d67fb11621a83035492ed9fb.tar.xz
Fix and add test to deprecated quarantine media admin api (#6756)
Diffstat (limited to 'synapse')
-rw-r--r--synapse/rest/admin/media.py2
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):