From 13a6a3fa7109ce6dcff79ea9ed2a012226386fad Mon Sep 17 00:00:00 2001 From: Reto Brunner Date: Sun, 17 May 2020 11:44:38 +0200 Subject: FetchBodyPart doesn't need the parent body structure --- lib/msgstore.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/msgstore.go') diff --git a/lib/msgstore.go b/lib/msgstore.go index 3fe26cb..7dc2689 100644 --- a/lib/msgstore.go +++ b/lib/msgstore.go @@ -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, -- cgit v1.2.3