diff options
author | Reto Brunner <reto@labrat.space> | 2020-09-27 19:00:58 +0200 |
---|---|---|
committer | Reto Brunner <reto@labrat.space> | 2020-09-27 19:00:58 +0200 |
commit | c48f228fa5ac57984af78e19713929224874aa8b (patch) | |
tree | 05f2164bea0a12effb9ac0a3594bd4340d67cf07 /worker/notmuch/worker.go | |
parent | dadc9bf2b3e992851d2539d6f459a4f29001e686 (diff) | |
download | aerc-c48f228fa5ac57984af78e19713929224874aa8b.tar.gz |
notmuch: rename method to SetFlag
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 |