Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Fix conflicting URLs for dehydrated devices. (#15180)
Browse files Browse the repository at this point in the history
  • Loading branch information
clokep committed Mar 2, 2023
1 parent 7ec1f09 commit 33a85cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.d/15180.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix a bug introduced in Synapse 1.78.0 where requests to claim dehydrated devices would fail with a `405` error.
2 changes: 1 addition & 1 deletion synapse/rest/client/devices.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__()
Expand Down

0 comments on commit 33a85cf

Please sign in to comment.