diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2024-01-10 17:07:07 +0100 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2024-01-10 17:07:07 +0100 |
commit | 9cec7803d28617f1bfd1ac1621c2eda9582201d4 (patch) | |
tree | 46734d3ae0029f4c725df53d383cf918ccb82a04 /src/imap/command | |
parent | 96332c9bfe6a9f01e3fdb0b2b565ad669fb526b1 (diff) | |
download | aerogramme-9cec7803d28617f1bfd1ac1621c2eda9582201d4.tar.gz aerogramme-9cec7803d28617f1bfd1ac1621c2eda9582201d4.zip |
Implement HIGHESTMODSEQ for STATUS
Diffstat (limited to 'src/imap/command')
-rw-r--r-- | src/imap/command/authenticated.rs | 5 |
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()) + }, }); } |