dendrite/clientapi/routing
Andrew Morgan 78032b3f4c
Correctly create new device when device_id is passed to /login (#753)
Fixes https://github.com/matrix-org/dendrite/issues/401

Currently when passing a `device_id` parameter to `/login`, which is [supposed](https://matrix.org/docs/spec/client_server/unstable#post-matrix-client-r0-login) to return a device with that ID set, it instead just generates a random `device_id` and hands that back to you.

The code was already there to do this correctly, it looks like it had just been broken during some change. Hopefully sytest will prevent this from becoming broken again.
2019-07-22 15:05:38 +01:00
..
account_data.go Remove unnecessary http method checks (#747) 2019-07-18 15:40:10 +08:00
createroom.go Lots of small typo fixes (#737) 2019-07-12 16:43:01 +01:00
device.go Remove unnecessary http method checks (#747) 2019-07-18 15:40:10 +08:00
directory.go Fix #661 appservice can't set aliases in its own namespace (#731) 2019-07-12 21:36:17 +08:00
filter.go Remove unnecessary http method checks (#747) 2019-07-18 15:40:10 +08:00
joinroom.go Encode URLs properly (#728) 2019-07-03 16:38:50 +01:00
login.go Correctly create new device when device_id is passed to /login (#753) 2019-07-22 15:05:38 +01:00
logout.go Remove unnecessary http method checks (#747) 2019-07-18 15:40:10 +08:00
membership.go Lots of small typo fixes (#737) 2019-07-12 16:43:01 +01:00
memberships.go use go module for dependencies (#594) 2019-05-21 21:56:55 +01:00
profile.go Remove unnecessary http method checks (#747) 2019-07-18 15:40:10 +08:00
register.go Correctly create new device when device_id is passed to /login (#753) 2019-07-22 15:05:38 +01:00
register_test.go use go module for dependencies (#594) 2019-05-21 21:56:55 +01:00
routing.go Encode URLs properly (#728) 2019-07-03 16:38:50 +01:00
sendevent.go use go module for dependencies (#594) 2019-05-21 21:56:55 +01:00
sendtyping.go use go module for dependencies (#594) 2019-05-21 21:56:55 +01:00
threepid.go use go module for dependencies (#594) 2019-05-21 21:56:55 +01:00
voip.go use go module for dependencies (#594) 2019-05-21 21:56:55 +01:00
whoami.go use go module for dependencies (#594) 2019-05-21 21:56:55 +01:00