diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2024-01-10 11:24:01 +0100 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2024-01-10 11:24:01 +0100 |
commit | a2d6efc962dbf5de64a70cf7d9f293534bd5369a (patch) | |
tree | 7c3507e73c8fee6ceb607ce68a3da9c00645ed2a /src/imap | |
parent | 184328ebcf100496d8b6df0cc570c773a2203a2e (diff) | |
download | aerogramme-a2d6efc962dbf5de64a70cf7d9f293534bd5369a.tar.gz aerogramme-a2d6efc962dbf5de64a70cf7d9f293534bd5369a.zip |
[broken compilation] update mail internal
Diffstat (limited to 'src/imap')
-rw-r--r-- | src/imap/command/selected.rs | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/imap/command/selected.rs b/src/imap/command/selected.rs index c38c5d3..ef2654e 100644 --- a/src/imap/command/selected.rs +++ b/src/imap/command/selected.rs @@ -1,8 +1,8 @@ use std::sync::Arc; use anyhow::Result; -use imap_codec::imap_types::command::{Command, CommandBody}; -use imap_codec::imap_types::core::Charset; +use imap_codec::imap_types::command::{Command, CommandBody, StoreModifier}; +use imap_codec::imap_types::core::{Charset, Atom}; use imap_codec::imap_types::fetch::MacroOrMessageDataItemNames; use imap_codec::imap_types::flag::{Flag, StoreResponse, StoreType}; use imap_codec::imap_types::mailbox::Mailbox as MailboxCodec; @@ -56,8 +56,9 @@ pub async fn dispatch<'a>( kind, response, flags, + modifiers, uid, - } => ctx.store(sequence_set, kind, response, flags, uid).await, + } => ctx.store(sequence_set, kind, response, flags, modifiers, uid).await, CommandBody::Copy { sequence_set, mailbox, @@ -185,8 +186,10 @@ impl<'a> SelectedContext<'a> { kind: &StoreType, response: &StoreResponse, flags: &[Flag<'a>], + modifiers: &[(Atom<'a>, StoreModifier<'a>)], uid: &bool, ) -> Result<(Response<'static>, flow::Transition)> { + tracing::info!(modifiers=?modifiers); let data = self .mailbox .store(sequence_set, kind, response, flags, uid) |