notmuch: remove read handling from FetchMessageBodyPart
This commit is contained in:
parent
d8533e897a
commit
ee1d971554
1 changed files with 0 additions and 13 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue