crypto: Await the group session invalidation
This commit is contained in:
parent
cb58c499b3
commit
b4b897dd51
2 changed files with 3 additions and 3 deletions
|
@ -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 a new issue