diff --git a/src/securejoin.rs b/src/securejoin.rs index 39e46b463..2cd6cab74 100644 --- a/src/securejoin.rs +++ b/src/securejoin.rs @@ -139,9 +139,6 @@ async fn get_self_fingerprint(context: &Context) -> Option { #[derive(Debug, thiserror::Error)] pub enum JoinError { - #[error("An \"ongoing\" process is already running")] - OngoingRunning, - #[error("Failed to send handshake message: {0}")] SendMessage(#[from] SendMsgError), @@ -150,10 +147,6 @@ pub enum JoinError { #[error("Unknown contact (this is a bug): {0}")] UnknownContact(#[source] anyhow::Error), - // Note that this can only occur if we failed to create the chat correctly. - #[error("Ongoing sender dropped (this is a bug)")] - OngoingSenderDropped, - #[error("Other")] Other(#[from] anyhow::Error), }