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

The DELETE method for the unstable/org.matrix.msc3814.v1/dehydrated_device endpoint doesn't delete the device #16022

@poljar

Description

@poljar

Seems that the patch I provided in #15929 doesn't do what it should be doing, at least not for the DELETE method.

After trying to delete the dehydrated device a subsequent /keys/query will still return the dehydrated device.

Uploading a new dehydrated device using the PUT method might also not delete the old dehydrated device.

Steps to reproduce:

  • Create a new dehydrated device using the PUT method on the unstable/org.matrix.msc3814.v1/dehydrated_device endpoint.
  • Observe the device over the /keys/query endpoint.
  • Delete the dehydrated device using the DELETE method on the endpoint from step 1.
  • Continue observing that the device exists using the /keys/query endpoint, calling DELETE from the previous step claims that the device is deleted.

@H-Shay any chance you could take a look at this?

Metadata

Metadata

Assignees

Labels

O-UncommonMost users are unlikely to come across this or unexpected workflowS-MinorBlocks non-critical functionality, workarounds exist.T-DefectBugs, crashes, hangs, security vulnerabilities, or other reported issues.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions