aboutsummaryrefslogtreecommitdiff
path: root/worker
diff options
context:
space:
mode:
authorReto Brunner <reto@labrat.space>2019-09-11 21:01:05 +0200
committerDrew DeVault <sir@cmpwn.com>2019-09-12 16:17:24 -0400
commita93b4de6f3c362d6e0db0b1f6d3f2e1c9a5cd64d (patch)
treed5b2451f9a5bb6d79b284ea618361ed4d8eb4a33 /worker
parent618a500341d54ec5bec6d035a86b1307ff1dad0a (diff)
Add modify-labels command
This adds the event type as well as the command implementation, but no backend supports it yet.
Diffstat (limited to 'worker')
-rw-r--r--worker/types/messages.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/worker/types/messages.go b/worker/types/messages.go
index 7ab94e0..9f40b8f 100644
--- a/worker/types/messages.go
+++ b/worker/types/messages.go
@@ -175,3 +175,10 @@ type MessagesDeleted struct {
Message
Uids []uint32
}
+
+type ModifyLabels struct {
+ Message
+ Uids []uint32
+ Add []string
+ Remove []string
+}