From 72168ce0849dd23df5f567e506f975fa60e2ad21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Tue, 11 Aug 2020 11:51:34 +0200 Subject: [PATCH] crypto: Fix the unknown method tests fot the SAS state transitions. --- matrix_sdk_crypto/src/verification/sas/sas_state.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/matrix_sdk_crypto/src/verification/sas/sas_state.rs b/matrix_sdk_crypto/src/verification/sas/sas_state.rs index f53155d0..eaeb6bf3 100644 --- a/matrix_sdk_crypto/src/verification/sas/sas_state.rs +++ b/matrix_sdk_crypto/src/verification/sas/sas_state.rs @@ -990,7 +990,6 @@ mod test { let (alice, bob) = get_sas_pair().await; let mut event = wrap_to_device_event(bob.user_id(), bob.as_content()); - event.sender = UserId::try_from("@malory:example.org").unwrap(); match &mut event.content.method { AcceptMethod::MSasV1(ref mut c) => { @@ -1009,7 +1008,6 @@ mod test { let (alice, bob) = get_sas_pair().await; let mut event = wrap_to_device_event(bob.user_id(), bob.as_content()); - event.sender = UserId::try_from("@malory:example.org").unwrap(); event.content.method = AcceptMethod::Custom(CustomContent { method: "m.sas.custom".to_string(),