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.
master
Damir Jelić 2021-05-07 16:57:52 +02:00
parent b8017b1fb0
commit dea3d4cb68
1 changed files with 3 additions and 1 deletions

View File

@ -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(())