about summary refs log tree commit diff stats
path: root/lib/msgstore.go
diff options
context:
space:
mode:
authorReto Brunner <reto@labrat.space>2020-05-17 11:44:38 +0200
committerReto Brunner <reto@labrat.space>2020-05-17 11:44:38 +0200
commit13a6a3fa7109ce6dcff79ea9ed2a012226386fad (patch)
treef182c5d8f8dbaf5a6445b5c226a229faa7005efa /lib/msgstore.go
parentbae678e8f20605b64596c9e976623f2a37247adb (diff)
downloadaerc-13a6a3fa7109ce6dcff79ea9ed2a012226386fad.tar.gz
FetchBodyPart doesn't need the parent body structure
Diffstat (limited to 'lib/msgstore.go')
-rw-r--r--lib/msgstore.go3
1 files changed, 1 insertions, 2 deletions
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,