aboutsummaryrefslogtreecommitdiff
path: root/src/imap/command
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2024-01-03 16:52:31 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2024-01-03 16:52:31 +0100
commit74686ebb778b740ccfccfbf61ccd24628f60e9d0 (patch)
tree0eefb4982d14499b47c7d57c7256004500f7edb3 /src/imap/command
parentb91c64920d7454d50b60ad3abb58fad9d09f0511 (diff)
downloadaerogramme-74686ebb778b740ccfccfbf61ccd24628f60e9d0.tar.gz
aerogramme-74686ebb778b740ccfccfbf61ccd24628f60e9d0.zip
append ignore dates instead of failing
Diffstat (limited to 'src/imap/command')
-rw-r--r--src/imap/command/authenticated.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/imap/command/authenticated.rs b/src/imap/command/authenticated.rs
index 2970b63..fbf29f9 100644
--- a/src/imap/command/authenticated.rs
+++ b/src/imap/command/authenticated.rs
@@ -305,6 +305,9 @@ impl<'a> AuthenticatedContext<'a> {
StatusDataItemName::DeletedStorage => {
bail!("quota not implemented, can't return freed storage after EXPUNGE will be run");
},
+ StatusDataItemName::HighestModSeq => {
+ bail!("highestmodseq not yet implemented");
+ }
});
}
@@ -524,7 +527,7 @@ impl<'a> AuthenticatedContext<'a> {
};
if date.is_some() {
- bail!("Cannot set date when appending message");
+ tracing::warn!("Cannot set date when appending message");
}
let msg =