mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-18 06:24:18 -05:00
Fix conflicting URLs for dehydrated devices. (#15180)
This commit is contained in:
parent
7ec1f096d3
commit
33a85cf08c
1
changelog.d/15180.bugfix
Normal file
1
changelog.d/15180.bugfix
Normal file
@ -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"):
|
def __init__(self, hs: "HomeServer"):
|
||||||
super().__init__()
|
super().__init__()
|
||||||
|
Loading…
Reference in New Issue
Block a user