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.
This commit is contained in:
Damir Jelić 2021-05-07 16:57:52 +02:00
parent b8017b1fb0
commit dea3d4cb68

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