crypto: Await the group session invalidation
parent
cb58c499b3
commit
b4b897dd51
|
@ -222,7 +222,7 @@ pub fn room_key_sharing(c: &mut Criterion) {
|
|||
.unwrap();
|
||||
}
|
||||
|
||||
machine.invalidate_group_session(&room_id);
|
||||
machine.invalidate_group_session(&room_id).await.unwrap();
|
||||
})
|
||||
});
|
||||
|
||||
|
@ -258,7 +258,7 @@ pub fn room_key_sharing(c: &mut Criterion) {
|
|||
.unwrap();
|
||||
}
|
||||
|
||||
machine.invalidate_group_session(&room_id);
|
||||
machine.invalidate_group_session(&room_id).await.unwrap();
|
||||
})
|
||||
});
|
||||
|
||||
|
|
|
@ -1462,7 +1462,7 @@ pub(crate) mod test {
|
|||
.get_outbound_group_session(&room_id)
|
||||
.is_some());
|
||||
|
||||
machine.invalidate_group_session(&room_id);
|
||||
machine.invalidate_group_session(&room_id).await.unwrap();
|
||||
|
||||
assert!(machine
|
||||
.group_session_manager
|
||||
|
|
Loading…
Reference in New Issue