diff options
author | Tim Culverhouse <tim@timculverhouse.com> | 2022-08-16 16:23:37 -0500 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-08-22 15:46:51 +0200 |
commit | e8c5bb641a9f31979bebf0f827befcfb4456bb9d (patch) | |
tree | 86b745d0f9545902159b22c7f568e9cdcdae2b65 /worker | |
parent | a0a5ba1538d8b8108edbf737173cb0cee54caee5 (diff) | |
download | aerc-e8c5bb641a9f31979bebf0f827befcfb4456bb9d.tar.gz |
worker: introduce MoveMessages type
Introduce a MoveMessages worker message to use for improved message
moving in subsequent patches.
Signed-off-by: Tim Culverhouse <tim@timculverhouse.com>
Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'worker')
-rw-r--r-- | worker/types/messages.go | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/worker/types/messages.go b/worker/types/messages.go index a414eb26..acd515f2 100644 --- a/worker/types/messages.go +++ b/worker/types/messages.go @@ -165,6 +165,12 @@ type CopyMessages struct { Uids []uint32 } +type MoveMessages struct { + Message + Destination string + Uids []uint32 +} + type AppendMessage struct { Message Destination string @@ -231,6 +237,12 @@ type MessagesCopied struct { Uids []uint32 } +type MessagesMoved struct { + Message + Destination string + Uids []uint32 +} + type ModifyLabels struct { Message Uids []uint32 |