mirror of
https://github.com/mjl-/mox.git
synced 2025-07-12 17:04:39 +03:00
remove intention to implement \important special-use mailbox and $important message flag, rfc 8457
they are intended to be used by the server to automatically mark some messages as important, based on server-defined heuristics. we don't have such heuristics at the moment. perhaps in the future, but until then there are no plans.
This commit is contained in:
@ -191,21 +191,17 @@ func (c *conn) cmdList(tag, cmd string, p *parser) {
|
||||
flags = append(flags, bare(`\Subscribed`))
|
||||
}
|
||||
if info.mailbox != nil {
|
||||
if info.mailbox.Archive {
|
||||
flags = append(flags, bare(`\Archive`))
|
||||
}
|
||||
if info.mailbox.Draft {
|
||||
flags = append(flags, bare(`\Drafts`))
|
||||
}
|
||||
if info.mailbox.Junk {
|
||||
flags = append(flags, bare(`\Junk`))
|
||||
}
|
||||
if info.mailbox.Sent {
|
||||
flags = append(flags, bare(`\Sent`))
|
||||
}
|
||||
if info.mailbox.Trash {
|
||||
flags = append(flags, bare(`\Trash`))
|
||||
add := func(b bool, v string) {
|
||||
if b {
|
||||
flags = append(flags, bare(v))
|
||||
}
|
||||
}
|
||||
mb := info.mailbox
|
||||
add(mb.Archive, `\Archive`)
|
||||
add(mb.Draft, `\Drafts`)
|
||||
add(mb.Junk, `\Junk`)
|
||||
add(mb.Sent, `\Sent`)
|
||||
add(mb.Trash, `\Trash`)
|
||||
}
|
||||
|
||||
var extStr string
|
||||
|
Reference in New Issue
Block a user