Skip to content

Commit

Permalink
core: minor fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>
  • Loading branch information
epilys committed Dec 25, 2023
1 parent 23fb0f9 commit 88c5874
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions core/src/posts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,6 @@ impl Connection {
return Err("Envelope From: field is empty!".into());
}
let mut lists = self.lists()?;
if lists.is_empty() {
return Err("No active mailing lists found.".into());
}
let prev_list_len = lists.len();
for t in &tos {
if let Some((addr, subaddr)) = t.subaddress("+") {
Expand Down
2 changes: 1 addition & 1 deletion core/src/queue.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ use crate::{errors::*, models::DbVal, Connection, DateTime};
#[derive(Copy, Clone, Eq, PartialEq, Debug, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "kebab-case")]
pub enum Queue {
/// Messages that have been submitted but not yet processed, await
/// Messages that have been received but not yet processed, await
/// processing in the `maildrop` queue. Messages can be added to the
/// `maildrop` queue even when mailpot is not running.
Maildrop,
Expand Down

0 comments on commit 88c5874

Please sign in to comment.