aboutsummaryrefslogtreecommitdiff
path: root/src/mailbox.rs
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2022-06-14 11:10:21 +0200
committerQuentin Dufour <quentin@deuxfleurs.fr>2022-06-14 11:10:21 +0200
commitda6881199cd6f477fe2fc10fbbc6484e84ea6513 (patch)
treece391008a29d7ac0101e0d6aee41870d5b90a362 /src/mailbox.rs
parent13ed1b3890ce1bddf89d5397998ead191c6815ec (diff)
downloadaerogramme-da6881199cd6f477fe2fc10fbbc6484e84ea6513.tar.gz
aerogramme-da6881199cd6f477fe2fc10fbbc6484e84ea6513.zip
Rename MailUuid in MailIdent
Diffstat (limited to 'src/mailbox.rs')
-rw-r--r--src/mailbox.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mailbox.rs b/src/mailbox.rs
index 9d6c1fc..43ff5ca 100644
--- a/src/mailbox.rs
+++ b/src/mailbox.rs
@@ -69,7 +69,7 @@ impl Mailbox {
let add_mail_op = self
.uid_index
.state()
- .op_mail_add(MailUuid(rand_id), vec!["\\Unseen".into()]);
+ .op_mail_add(MailIdent(rand_id), vec!["\\Unseen".into()]);
self.uid_index.push(add_mail_op).await?;
dump(&self.uid_index);