diff options
author | Drew DeVault <sir@cmpwn.com> | 2019-06-09 14:55:34 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-06-09 14:55:42 -0400 |
commit | 6271d455eb7d72ca2942e3721721be54fed27779 (patch) | |
tree | f5c37e55333f2fb1807b6a41fc6093838a134adc /worker/imap/worker.go | |
parent | 05f00f0153066b9bb527773927a3244dad28ef4f (diff) |
Add :read and :unread commands
Diffstat (limited to 'worker/imap/worker.go')
-rw-r--r-- | worker/imap/worker.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/worker/imap/worker.go b/worker/imap/worker.go index 373072b..d978755 100644 --- a/worker/imap/worker.go +++ b/worker/imap/worker.go @@ -137,6 +137,8 @@ func (w *IMAPWorker) handleMessage(msg types.WorkerMessage) error { w.handleFetchFullMessages(msg) case *types.DeleteMessages: w.handleDeleteMessages(msg) + case *types.ReadMessages: + w.handleReadMessages(msg) case *types.CopyMessages: w.handleCopyMessages(msg) case *types.AppendMessage: |