Fix conflicting URLs for dehydrated devices. (#15180)

1.103.0-whithout-watcha
Patrick Cloke 2 years ago committed by GitHub
parent 7ec1f096d3
commit 33a85cf08c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      changelog.d/15180.bugfix
  2. 2
      synapse/rest/client/devices.py

@ -0,0 +1 @@
Fix a bug introduced in Synapse 1.78.0 where requests to claim dehydrated devices would fail with a `405` error.

@ -255,7 +255,7 @@ class DehydratedDeviceServlet(RestServlet):
"""
PATTERNS = client_patterns("/org.matrix.msc2697.v2/dehydrated_device", releases=())
PATTERNS = client_patterns("/org.matrix.msc2697.v2/dehydrated_device$", releases=())
def __init__(self, hs: "HomeServer"):
super().__init__()

Loading…
Cancel
Save