aboutsummaryrefslogtreecommitdiffstats
path: root/worker
diff options
context:
space:
mode:
authorTristan Partin <tristan@partin.io>2024-05-28 17:52:30 -0500
committerRobin Jarry <robin@jarry.cc>2024-05-29 09:28:55 +0200
commit9e93d9efdb889b2bc8a57d40fcde780598d8800f (patch)
tree49e08cdc5ba0c0f94974ebc9a397303812faaf76 /worker
parentd619f45e2458ea79618e6d8403ba828f61ddd8da (diff)
downloadaerc-9e93d9efdb889b2bc8a57d40fcde780598d8800f.tar.gz
jmap: fix go static check failure
The missing variable was being set but unused. Fixes: 9f97c698e3dd ("jmap: fetch entire threads") Signed-off-by: Tristan Partin <tristan@partin.io> Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'worker')
-rw-r--r--worker/jmap/fetch.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/worker/jmap/fetch.go b/worker/jmap/fetch.go
index 31fcef98..efa8f69b 100644
--- a/worker/jmap/fetch.go
+++ b/worker/jmap/fetch.go
@@ -157,7 +157,7 @@ func (w *JMAPWorker) handleFetchMessageHeaders(msg *types.FetchMessageHeaders) e
var req jmap.Request
req.Invoke(&email.Get{
Account: w.accountId,
- IDs: mailIds,
+ IDs: missing,
Properties: headersProperties,
})