aboutsummaryrefslogtreecommitdiff
path: root/worker/types/messages.go
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-03-31 12:17:57 -0400
committerDrew DeVault <sir@cmpwn.com>2019-03-31 12:19:30 -0400
commit95875b13f829919b3453763628d1dda97371fab0 (patch)
treed8d9c12680259b4d321165a32c9d7e0dc4b430fc /worker/types/messages.go
parent27b25174e2f0249a6a1d4ba45b70f8504b63ffb1 (diff)
Rename FetchMessageBodies to FetchFullMessages
Diffstat (limited to 'worker/types/messages.go')
-rw-r--r--worker/types/messages.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/worker/types/messages.go b/worker/types/messages.go
index 803bb98..b17d53d 100644
--- a/worker/types/messages.go
+++ b/worker/types/messages.go
@@ -81,7 +81,7 @@ type FetchMessageHeaders struct {
Uids imap.SeqSet
}
-type FetchMessageBodies struct {
+type FetchFullMessages struct {
Message
Uids imap.SeqSet
}
@@ -134,7 +134,7 @@ type MessageInfo struct {
Uid uint32
}
-type MessageBody struct {
+type FullMessage struct {
Message
Reader io.Reader
Uid uint32