diff options
author | Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> | 2020-01-22 11:05:50 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-22 11:05:50 +0000 |
commit | aa9b00fb2f9a7718d67fb11621a83035492ed9fb (patch) | |
tree | 6c0b27afd1ef6781798a140b54ddb0d743c23021 /synapse/rest/admin/media.py | |
parent | Allow monthly active user limiting support for worker mode, fixes #4639. (#6742) (diff) | |
download | synapse-aa9b00fb2f9a7718d67fb11621a83035492ed9fb.tar.xz |
Fix and add test to deprecated quarantine media admin api (#6756)
Diffstat (limited to 'synapse/rest/admin/media.py')
-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): |