aboutsummaryrefslogtreecommitdiffstats
path: root/worker/imap/worker.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/imap/worker.go
parent27b25174e2f0249a6a1d4ba45b70f8504b63ffb1 (diff)
downloadaerc-95875b13f829919b3453763628d1dda97371fab0.tar.gz
Rename FetchMessageBodies to FetchFullMessages
Diffstat (limited to 'worker/imap/worker.go')
-rw-r--r--worker/imap/worker.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/worker/imap/worker.go b/worker/imap/worker.go
index a11d82bb..4354ab9e 100644
--- a/worker/imap/worker.go
+++ b/worker/imap/worker.go
@@ -158,10 +158,10 @@ func (w *IMAPWorker) handleMessage(msg types.WorkerMessage) error {
w.handleFetchDirectoryContents(msg)
case *types.FetchMessageHeaders:
w.handleFetchMessageHeaders(msg)
- case *types.FetchMessageBodies:
- w.handleFetchMessageBodies(msg)
case *types.FetchMessageBodyPart:
w.handleFetchMessageBodyPart(msg)
+ case *types.FetchFullMessages:
+ w.handleFetchFullMessages(msg)
case *types.DeleteMessages:
w.handleDeleteMessages(msg)
default: