bump ruma
fixes for key type changes Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
14fce38403
commit
cc86feded3
5 changed files with 402 additions and 119 deletions
|
@ -1,5 +1,4 @@
|
|||
use std::{
|
||||
collections::BTreeMap,
|
||||
mem::take,
|
||||
time::{Duration, SystemTime},
|
||||
};
|
||||
|
@ -12,7 +11,7 @@ use ruma::{
|
|||
OutgoingResponse,
|
||||
},
|
||||
serde::Raw,
|
||||
MilliSecondsSinceUnixEpoch,
|
||||
MilliSecondsSinceUnixEpoch, Signatures,
|
||||
};
|
||||
|
||||
/// # `GET /_matrix/key/v2/server`
|
||||
|
@ -42,7 +41,7 @@ pub(crate) async fn get_server_keys_route(State(services): State<crate::State>)
|
|||
old_verify_keys,
|
||||
server_name: server_name.to_owned(),
|
||||
valid_until_ts: valid_until_ts(),
|
||||
signatures: BTreeMap::new(),
|
||||
signatures: Signatures::new(),
|
||||
};
|
||||
|
||||
let server_key = Raw::new(&server_key)?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue