mirror of
https://github.com/mjl-/mox.git
synced 2024-12-26 08:23:48 +03:00
imapserver: fix returning special-use mailbox "\Drafts" instead of "\Draft"
related to issue #66 by x8x, though this doesn't fix that (macos mail doesn't yet request the special-use flags).
This commit is contained in:
parent
0707f53361
commit
8c2814df89
2 changed files with 2 additions and 2 deletions
|
@ -194,7 +194,7 @@ func (c *conn) cmdList(tag, cmd string, p *parser) {
|
|||
flags = append(flags, bare(`\Archive`))
|
||||
}
|
||||
if info.mailbox.Draft {
|
||||
flags = append(flags, bare(`\Draft`))
|
||||
flags = append(flags, bare(`\Drafts`))
|
||||
}
|
||||
if info.mailbox.Junk {
|
||||
flags = append(flags, bare(`\Junk`))
|
||||
|
|
|
@ -109,7 +109,7 @@ func TestListExtended(t *testing.T) {
|
|||
Fhasnochildren = `\HasNoChildren`
|
||||
Fnonexistent = `\NonExistent`
|
||||
Farchive = `\Archive`
|
||||
Fdraft = `\Draft`
|
||||
Fdraft = `\Drafts`
|
||||
Fjunk = `\Junk`
|
||||
Fsent = `\Sent`
|
||||
Ftrash = `\Trash`
|
||||
|
|
Loading…
Reference in a new issue