aboutsummaryrefslogtreecommitdiff
path: root/src/imap/command/authenticated.rs
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2024-01-10 17:07:07 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2024-01-10 17:07:07 +0100
commit9cec7803d28617f1bfd1ac1621c2eda9582201d4 (patch)
tree46734d3ae0029f4c725df53d383cf918ccb82a04 /src/imap/command/authenticated.rs
parent96332c9bfe6a9f01e3fdb0b2b565ad669fb526b1 (diff)
downloadaerogramme-9cec7803d28617f1bfd1ac1621c2eda9582201d4.tar.gz
aerogramme-9cec7803d28617f1bfd1ac1621c2eda9582201d4.zip
Implement HIGHESTMODSEQ for STATUS
Diffstat (limited to 'src/imap/command/authenticated.rs')
-rw-r--r--src/imap/command/authenticated.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/imap/command/authenticated.rs b/src/imap/command/authenticated.rs
index f083ac8..da41182 100644
--- a/src/imap/command/authenticated.rs
+++ b/src/imap/command/authenticated.rs
@@ -311,8 +311,9 @@ impl<'a> AuthenticatedContext<'a> {
bail!("quota not implemented, can't return freed storage after EXPUNGE will be run");
},
StatusDataItemName::HighestModSeq => {
- bail!("highestmodseq not yet implemented");
- }
+ self.client_capabilities.enable_condstore();
+ StatusDataItem::HighestModSeq(view.highestmodseq().get())
+ },
});
}