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)
|
}, 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)
|
w.done(msg)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue