From a93b4de6f3c362d6e0db0b1f6d3f2e1c9a5cd64d Mon Sep 17 00:00:00 2001 From: Reto Brunner Date: Wed, 11 Sep 2019 21:01:05 +0200 Subject: Add modify-labels command This adds the event type as well as the command implementation, but no backend supports it yet. --- worker/types/messages.go | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'worker') 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 +} -- cgit v1.2.3