FetchBodyPart doesn't need the parent body structure
This commit is contained in:
parent
bae678e8f2
commit
13a6a3fa71
9 changed files with 24 additions and 29 deletions
lib
|
@ -136,8 +136,7 @@ func (store *MessageStore) FetchFull(uids []uint32, cb func(*types.FullMessage))
|
|||
}
|
||||
}
|
||||
|
||||
func (store *MessageStore) FetchBodyPart(
|
||||
uid uint32, parent *models.BodyStructure, part []int, cb func(io.Reader)) {
|
||||
func (store *MessageStore) FetchBodyPart(uid uint32, part []int, cb func(io.Reader)) {
|
||||
|
||||
store.worker.PostAction(&types.FetchMessageBodyPart{
|
||||
Uid: uid,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue