From c48f228fa5ac57984af78e19713929224874aa8b Mon Sep 17 00:00:00 2001 From: Reto Brunner Date: Sun, 27 Sep 2020 19:00:58 +0200 Subject: notmuch: rename method to SetFlag --- worker/notmuch/worker.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'worker/notmuch/worker.go') 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 -- cgit