Skip to content

imapserver: include CHILDREN capability #696

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jun 11, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion capability.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ const (
CapMove Cap = "MOVE" // RFC 6851
CapLiteralMinus Cap = "LITERAL-" // RFC 7888
CapStatusSize Cap = "STATUS=SIZE" // RFC 8438
CapChildren Cap = "CHILDREN" // RFC 3348

CapACL Cap = "ACL" // RFC 4314
CapAppendLimit Cap = "APPENDLIMIT" // RFC 7889
CapBinary Cap = "BINARY" // RFC 3516
CapCatenate Cap = "CATENATE" // RFC 4469
CapChildren Cap = "CHILDREN" // RFC 3348
CapCondStore Cap = "CONDSTORE" // RFC 7162
CapConvert Cap = "CONVERT" // RFC 5259
CapCreateSpecialUse Cap = "CREATE-SPECIAL-USE" // RFC 6154
Expand Down Expand Up @@ -92,6 +92,7 @@ var imap4rev2Caps = CapSet{
CapMove: {},
CapLiteralMinus: {},
CapStatusSize: {},
CapChildren: {},
}

// AuthCap returns the capability name for an SASL authentication mechanism.
Expand Down
1 change: 1 addition & 0 deletions imapserver/capability.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ func (c *Conn) availableCaps() []imap.Cap {
imap.CapMove,
imap.CapStatusSize,
imap.CapBinary,
imap.CapChildren,
})
}

Expand Down