about summary refs log tree commit diff stats
path: root/worker/types
diff options
context:
space:
mode:
authorReto Brunner <reto@labrat.space>2020-05-16 20:03:42 +0200
committerReto Brunner <reto@labrat.space>2020-05-16 20:03:42 +0200
commitbae678e8f20605b64596c9e976623f2a37247adb (patch)
tree14c90c4e74e2db7f180c94e479f425a5be8907c5 /worker/types
parentea2646fc039a572491ba8cc8e2879b7bf61c25dd (diff)
downloadaerc-bae678e8f20605b64596c9e976623f2a37247adb.tar.gz
imap: Remove FetchMessageBodyPart.{Encoding,Charset}
Fixes https://todo.sr.ht/~sircmpwn/aerc2/352 exactly as suggested by emersion.
Diffstat (limited to 'worker/types')
-rw-r--r--worker/types/messages.go6
1 files changed, 2 insertions, 4 deletions
diff --git a/worker/types/messages.go b/worker/types/messages.go
index 6422ef5..f1ef36e 100644
--- a/worker/types/messages.go
+++ b/worker/types/messages.go
@@ -104,10 +104,8 @@ type FetchFullMessages struct {
 
 type FetchMessageBodyPart struct {
 	Message
-	Uid      uint32
-	Part     []int
-	Encoding string
-	Charset  string
+	Uid  uint32
+	Part []int
 }
 
 type DeleteMessages struct {