0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-06-01 18:28:56 +02:00

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