0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-12-14 10:43:52 +01:00
dendrite/userapi/api
Neil Alexander 9e4618000e
Alias key backup endpoints onto /unstable, fix key backup bugs (#1947)
* Default /unstable requests to stable endpoints if not overridden specifically with a custom route

* Rewrite URL

* Try something different

* Fix routing manually

* Fix selectLatestVersionSQL

* Don't return 0 if no backup version exists

* Log more useful error

* fix up replace keys check

* Don't enforce uniqueness on e2e_room_keys_versions_idx

Co-authored-by: kegsay <kegan@matrix.org>
2021-07-28 10:25:45 +01:00
..
api.go Alias key backup endpoints onto /unstable, fix key backup bugs (#1947) 2021-07-28 10:25:45 +01:00