mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-18 13:40:55 -04:00
Await result.
This commit is contained in:
@@ -1243,11 +1243,13 @@ mod test {
|
||||
);
|
||||
|
||||
// We now share the session, since it was shared before.
|
||||
outbound.mark_shared_with(
|
||||
bob_device.user_id(),
|
||||
bob_device.device_id(),
|
||||
bob_device.get_key(DeviceKeyAlgorithm::Curve25519).unwrap(),
|
||||
);
|
||||
outbound
|
||||
.mark_shared_with(
|
||||
bob_device.user_id(),
|
||||
bob_device.device_id(),
|
||||
bob_device.get_key(DeviceKeyAlgorithm::Curve25519).unwrap(),
|
||||
)
|
||||
.await;
|
||||
assert!(machine.should_share_key(&bob_device, &inbound).await.is_ok());
|
||||
|
||||
let (other_outbound, other_inbound) =
|
||||
|
||||
Reference in New Issue
Block a user