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

Fix conflicting URLs for dehydrated devices. #15180

Merged
merged 2 commits into from
Mar 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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