imapserver: actually announce PREVIEW extension

This commit is contained in:
Mechiel Lukkien 2025-03-29 18:28:33 +01:00
parent a5d74eb718
commit 6ab31c15b7
No known key found for this signature in database
2 changed files with 2 additions and 0 deletions

View File

@ -40,6 +40,7 @@ const (
CapListMetadata Capability = "LIST-METADTA" // ../rfc/9590:73 CapListMetadata Capability = "LIST-METADTA" // ../rfc/9590:73
CapMultiAppend Capability = "MULTIAPPEND" // ../rfc/3502:33 CapMultiAppend Capability = "MULTIAPPEND" // ../rfc/3502:33
CapReplace Capability = "REPLACE" // ../rfc/8508:155 CapReplace Capability = "REPLACE" // ../rfc/8508:155
CapPreview Capability = "PREVIEW" // ../rfc/8970:114
) )
// Status is the tagged final result of a command. // Status is the tagged final result of a command.

View File

@ -180,6 +180,7 @@ var serverCapabilities = strings.Join([]string{
"LIST-METADATA", // ../rfc/9590 "LIST-METADATA", // ../rfc/9590
"MULTIAPPEND", // ../rfc/3502 "MULTIAPPEND", // ../rfc/3502
"REPLACE", // ../rfc/8508 "REPLACE", // ../rfc/8508
"PREVIEW", // ../rfc/8970:114
// "COMPRESS=DEFLATE", // ../rfc/4978, disabled for interoperability issues: The flate reader (inflate) still blocks on partial flushes, preventing progress. // "COMPRESS=DEFLATE", // ../rfc/4978, disabled for interoperability issues: The flate reader (inflate) still blocks on partial flushes, preventing progress.
}, " ") }, " ")