aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--worker/notmuch/worker.go13
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
}