From b1eb7ad18d2e0bbeecaf61a58825bbc794ceb40c Mon Sep 17 00:00:00 2001 From: Srivathsan Murali Date: Mon, 25 May 2020 16:59:48 +0200 Subject: Set AnsweredFlag on successful reply --- worker/types/messages.go | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'worker/types/messages.go') diff --git a/worker/types/messages.go b/worker/types/messages.go index f1ef36e..475a7aa 100644 --- a/worker/types/messages.go +++ b/worker/types/messages.go @@ -120,6 +120,12 @@ type ReadMessages struct { Uids []uint32 } +type AnsweredMessages struct { + Message + Answered bool + Uids []uint32 +} + type CopyMessages struct { Message Destination string -- cgit 1.4.1-2-gfad0