summary refs log tree commit diff stats
path: root/worker/types/messages.go
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/messages.go
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/messages.go')
-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 {
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73