Skip to content

Commit 9d73778

Browse files
authored
imapserver: include CHILDREN capability
1 parent 2c15234 commit 9d73778

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

capability.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ const (
3434
CapMove Cap = "MOVE" // RFC 6851
3535
CapLiteralMinus Cap = "LITERAL-" // RFC 7888
3636
CapStatusSize Cap = "STATUS=SIZE" // RFC 8438
37+
CapChildren Cap = "CHILDREN" // RFC 3348
3738

3839
CapACL Cap = "ACL" // RFC 4314
3940
CapAppendLimit Cap = "APPENDLIMIT" // RFC 7889
4041
CapBinary Cap = "BINARY" // RFC 3516
4142
CapCatenate Cap = "CATENATE" // RFC 4469
42-
CapChildren Cap = "CHILDREN" // RFC 3348
4343
CapCondStore Cap = "CONDSTORE" // RFC 7162
4444
CapConvert Cap = "CONVERT" // RFC 5259
4545
CapCreateSpecialUse Cap = "CREATE-SPECIAL-USE" // RFC 6154
@@ -92,6 +92,7 @@ var imap4rev2Caps = CapSet{
9292
CapMove: {},
9393
CapLiteralMinus: {},
9494
CapStatusSize: {},
95+
CapChildren: {},
9596
}
9697

9798
// AuthCap returns the capability name for an SASL authentication mechanism.

imapserver/capability.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ func (c *Conn) availableCaps() []imap.Cap {
8080
imap.CapMove,
8181
imap.CapStatusSize,
8282
imap.CapBinary,
83+
imap.CapChildren,
8384
})
8485
}
8586

0 commit comments

Comments
 (0)