about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorReto Brunner <reto@labrat.space>2020-07-05 15:40:12 +0200
committerReto Brunner <reto@labrat.space>2020-07-05 15:40:12 +0200
commit5f9c0058724d2ef42e86cb670be2f2f2d7362bce (patch)
treeccf79ca8fc448e3554462b82be53a6661515feae
parenteea128f10b0d47cba382517be20efc1cf766efab (diff)
downloadaerc-5f9c0058724d2ef42e86cb670be2f2f2d7362bce.tar.gz
notmuch: handle the answered flag
-rw-r--r--worker/notmuch/worker.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/worker/notmuch/worker.go b/worker/notmuch/worker.go
index b226269..75c1214 100644
--- a/worker/notmuch/worker.go
+++ b/worker/notmuch/worker.go
@@ -115,6 +115,8 @@ func (w *worker) handleMessage(msg types.WorkerMessage) error {
 		return w.handleFetchFullMessages(msg)
 	case *types.ReadMessages:
 		return w.handleReadMessages(msg)
+	case *types.AnsweredMessages:
+		return w.handleAnsweredMessages(msg)
 	case *types.SearchDirectory:
 		return w.handleSearchDirectory(msg)
 	case *types.ModifyLabels: