From db213fd0aed98a79ecb1be2c7b7d61c7d983bedf Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Tue, 14 May 2019 16:34:42 -0400 Subject: Implement :copy (aka :cp) --- worker/types/messages.go | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'worker/types') diff --git a/worker/types/messages.go b/worker/types/messages.go index b17d53d..fdd3263 100644 --- a/worker/types/messages.go +++ b/worker/types/messages.go @@ -97,6 +97,18 @@ type DeleteMessages struct { Uids imap.SeqSet } +type CopyMessages struct { + Message + Destination string + Uids imap.SeqSet +} + +type MoveMessages struct { + Message + Destination string + Uids imap.SeqSet +} + // Messages type CertificateApprovalRequest struct { -- cgit 1.4.1-2-gfad0