Merge pull request #2585 from matrix-org/rav/unstable_to_r0

Support /keys/upload on /r0 as well as /unstable
This commit is contained in:
Richard van der Hoff 2017-10-27 10:53:48 +01:00 committed by GitHub
commit 8854c039f2

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):
"""