Update ruma-client-api

next
Jonas Platte 2020-04-08 23:13:30 +02:00
parent d0920f0fa3
commit c60402bf0d
No known key found for this signature in database
GPG Key ID: 7D261D771D915378
2 changed files with 3 additions and 4 deletions

2
Cargo.lock generated
View File

@ -1052,7 +1052,7 @@ dependencies = [
[[package]]
name = "ruma-client-api"
version = "0.7.2"
source = "git+https://github.com/ruma/ruma-client-api.git#dc582758e4f846b3751d84d21eb321e8eb4faf51"
source = "git+https://github.com/ruma/ruma-client-api.git#aeb4e237b7f13a068a92929fdb5c5adac4f346e1"
dependencies = [
"http",
"js_int",

View File

@ -118,10 +118,9 @@ fn register_route(
data.token_replace(&user_id, &device_id, token.clone());
MatrixResult(Ok(register::Response {
access_token: token,
home_server: data.hostname().to_owned(),
access_token: Some(token),
user_id,
device_id,
device_id: Some(device_id),
}))
}