From dea3d4cb686ede27502715d245074a32c5dd7676 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Fri, 7 May 2021 16:57:52 +0200 Subject: [PATCH] sas: Implement a missing todo, allow accepting in-room verifications. Technically that's not needed since we auto-accept here after we accepted the request but we still need to remove the TODO there. --- matrix_sdk/src/sas.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/matrix_sdk/src/sas.rs b/matrix_sdk/src/sas.rs index 6ff43c8e..5d8f1b81 100644 --- a/matrix_sdk/src/sas.rs +++ b/matrix_sdk/src/sas.rs @@ -64,7 +64,9 @@ impl Sas { OutgoingVerificationRequest::ToDevice(r) => { self.client.send_to_device(&r).await?; } - OutgoingVerificationRequest::InRoom(_) => todo!(), + OutgoingVerificationRequest::InRoom(r) => { + self.client.room_send_helper(&r).await?; + } } } Ok(())