From 89c543f66264510f009e13cd9893e2c3aa1f7e25 Mon Sep 17 00:00:00 2001 From: Mechiel Lukkien Date: Fri, 22 Sep 2023 10:51:42 +0200 Subject: [PATCH] if there is special-use junk flag on mailbox, don't also look at AutomaticJunkFlags option the special-use flag should take precedence. --- store/account.go | 1 + 1 file changed, 1 insertion(+) diff --git a/store/account.go b/store/account.go index 36dc98f..8182cfd 100644 --- a/store/account.go +++ b/store/account.go @@ -615,6 +615,7 @@ func (m *Message) JunkFlagsForMailbox(mb Mailbox, conf config.Account) { if mb.Junk { m.Junk = true m.Notjunk = false + return } if !conf.AutomaticJunkFlags.Enabled {