mirror of
https://github.com/mjl-/mox.git
synced 2025-06-29 02:18:15 +03:00
if there is special-use junk flag on mailbox, don't also look at AutomaticJunkFlags option
the special-use flag should take precedence.
This commit is contained in:
parent
6315d57166
commit
89c543f662
@ -615,6 +615,7 @@ func (m *Message) JunkFlagsForMailbox(mb Mailbox, conf config.Account) {
|
|||||||
if mb.Junk {
|
if mb.Junk {
|
||||||
m.Junk = true
|
m.Junk = true
|
||||||
m.Notjunk = false
|
m.Notjunk = false
|
||||||
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
if !conf.AutomaticJunkFlags.Enabled {
|
if !conf.AutomaticJunkFlags.Enabled {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user