From 47db1349a98fe7b31773c3e991d007eda20acea4 Mon Sep 17 00:00:00 2001 From: link2xt Date: Sun, 15 May 2022 23:32:41 +0000 Subject: [PATCH] securejoin: remove unused error types related to ongoing processes securejoin no longer allocates ongoing processes --- src/securejoin.rs | 7 ------- 1 file changed, 7 deletions(-) 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), }