Support /keys/upload on /r0 as well as /unstable

(So that we can stop riot relying on it in /unstable)
This commit is contained in:
Richard van der Hoff 2017-10-26 18:13:21 +01:00
parent 1dd0f53b21
commit 0a5866bec9

View File

@ -50,8 +50,7 @@ logger = logging.getLogger("synapse.app.frontend_proxy")
class KeyUploadServlet(RestServlet):
PATTERNS = client_v2_patterns("/keys/upload(/(?P<device_id>[^/]+))?$",
releases=())
PATTERNS = client_v2_patterns("/keys/upload(/(?P<device_id>[^/]+))?$")
def __init__(self, hs):
"""