diff --git a/matrix_sdk_crypto/src/verification/requests.rs b/matrix_sdk_crypto/src/verification/requests.rs index 645455f8..49c46431 100644 --- a/matrix_sdk_crypto/src/verification/requests.rs +++ b/matrix_sdk_crypto/src/verification/requests.rs @@ -387,11 +387,16 @@ impl VerificationRequest { sender: &UserId, content: impl Into>, ) -> Result<(), CryptoStoreError> { - match &*self.inner.lock().unwrap() { - InnerRequest::Created(_) => {} - InnerRequest::Requested(_) => {} - InnerRequest::Ready(s) => s.receive_start(sender, content).await?, - InnerRequest::Passive(_) => {} + let content = content.into(); + + if let InnerRequest::Ready(s) = &*self.inner.lock().unwrap() { + s.receive_start(sender, content).await?; + } else { + warn!( + sender = sender.as_str(), + device_id = content.from_device().as_str(), + "Received a key verification start event but we're not yet in the ready state" + ) } Ok(())