summaryrefslogtreecommitdiff
path: root/src/conversation/handlers/send
diff options
context:
space:
mode:
Diffstat (limited to 'src/conversation/handlers/send')
-rw-r--r--src/conversation/handlers/send/mod.rs7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/conversation/handlers/send/mod.rs b/src/conversation/handlers/send/mod.rs
index ff63652..979dd24 100644
--- a/src/conversation/handlers/send/mod.rs
+++ b/src/conversation/handlers/send/mod.rs
@@ -58,10 +58,9 @@ impl IntoResponse for Error {
SendError::ConversationNotFound(_) | SendError::ConversationDeleted(_) => {
NotFound(error).into_response()
}
- SendError::SenderNotFound(_)
- | SendError::SenderDeleted(_)
- | SendError::Name(_)
- | SendError::Database(_) => Internal::from(error).into_response(),
+ SendError::SenderNotFound(_) | SendError::SenderDeleted(_) | SendError::Failed(_) => {
+ Internal::from(error).into_response()
+ }
}
}
}