diff options
author | Reto Brunner <reto@labrat.space> | 2020-05-07 00:18:57 +0200 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2020-05-11 09:47:19 -0400 |
commit | ee1d971554a1c2c803fedccbf231ba23500b7bbc (patch) | |
tree | ed1bfcf95f4fe4b045651481bae293c1c84ffda2 /worker/notmuch | |
parent | d8533e897a73046fa8619c86631660eea87d2b90 (diff) | |
download | aerc-ee1d971554a1c2c803fedccbf231ba23500b7bbc.tar.gz |
notmuch: remove read handling from FetchMessageBodyPart
Diffstat (limited to 'worker/notmuch')
-rw-r--r-- | worker/notmuch/worker.go | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/worker/notmuch/worker.go b/worker/notmuch/worker.go index 9443f666..9929648d 100644 --- a/worker/notmuch/worker.go +++ b/worker/notmuch/worker.go @@ -335,19 +335,6 @@ func (w *worker) handleFetchMessageBodyPart( }, }, nil) - if err := m.MarkRead(true); err != nil { - w.w.Logger.Printf("could not mark message as read: %v", err) - return err - } - - // send updated flags to ui - if err = w.emitMessageInfo(m, msg); err != nil { - w.w.Logger.Printf(err.Error()) - } - if err = w.emitDirectoryInfo(w.currentQueryName); err != nil { - w.w.Logger.Printf(err.Error()) - } - w.done(msg) return nil } |