about summary refs log tree commit diff stats
path: root/worker/imap/worker.go
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-03-14 22:19:04 -0400
committerDrew DeVault <sir@cmpwn.com>2019-03-14 22:19:04 -0400
commitde364846ccaba3b93c383add3846443048f1c2c9 (patch)
treeffb160063d15d8d3b7e78520f71f09ea7fae6371 /worker/imap/worker.go
parent11f0a7267fd1a9d1c6dd55e1dc044b8ed639bbc0 (diff)
downloadaerc-de364846ccaba3b93c383add3846443048f1c2c9.tar.gz
Display message subjects in message list
Diffstat (limited to 'worker/imap/worker.go')
-rw-r--r--worker/imap/worker.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/worker/imap/worker.go b/worker/imap/worker.go
index 51cb221..1646165 100644
--- a/worker/imap/worker.go
+++ b/worker/imap/worker.go
@@ -154,6 +154,8 @@ func (w *IMAPWorker) handleMessage(msg types.WorkerMessage) error {
 		w.handleOpenDirectory(msg)
 	case *types.FetchDirectoryContents:
 		w.handleFetchDirectoryContents(msg)
+	case *types.FetchMessageHeaders:
+		w.handleFetchMessageHeaders(msg)
 	default:
 		return errUnsupported
 	}