diff options
Diffstat (limited to 'worker/notmuch/worker.go')
-rw-r--r-- | worker/notmuch/worker.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/worker/notmuch/worker.go b/worker/notmuch/worker.go index 66d1cd26..67888ff1 100644 --- a/worker/notmuch/worker.go +++ b/worker/notmuch/worker.go @@ -402,7 +402,7 @@ func (w *worker) handleFlagMessages(msg *types.FlagMessages) error { w.err(msg, err) continue } - if err := m.SetOneFlag(msg.Flag, msg.Enable); err != nil { + if err := m.SetFlag(msg.Flag, msg.Enable); err != nil { w.w.Logger.Printf("could not set flag %v as %v for message: %v", msg.Flag, msg.Enable, err) w.err(msg, err) continue |