aboutsummaryrefslogtreecommitdiffstats
path: root/worker/notmuch/worker.go
diff options
context:
space:
mode:
authorReto Brunner <reto@labrat.space>2020-09-27 19:00:58 +0200
committerReto Brunner <reto@labrat.space>2020-09-27 19:00:58 +0200
commitc48f228fa5ac57984af78e19713929224874aa8b (patch)
tree05f2164bea0a12effb9ac0a3594bd4340d67cf07 /worker/notmuch/worker.go
parentdadc9bf2b3e992851d2539d6f459a4f29001e686 (diff)
downloadaerc-c48f228fa5ac57984af78e19713929224874aa8b.tar.gz
notmuch: rename method to SetFlag
Diffstat (limited to 'worker/notmuch/worker.go')
-rw-r--r--worker/notmuch/worker.go2
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