aboutsummaryrefslogtreecommitdiffstats
path: root/worker
diff options
context:
space:
mode:
authorTristan Partin <tristan@partin.io>2024-05-28 17:56:07 -0500
committerRobin Jarry <robin@jarry.cc>2024-05-29 09:27:58 +0200
commitd619f45e2458ea79618e6d8403ba828f61ddd8da (patch)
tree8b62f3d1fe1392f7d7c403892a035980824ee5ed /worker
parent2276a796f36cb6e213aca3b760b411202ed24e0e (diff)
downloadaerc-d619f45e2458ea79618e6d8403ba828f61ddd8da.tar.gz
jmap: fix error message
A v1 got committed when a v2 existed. Fixes: f9113810cc6c ("jmap: invalidate cache if mailbox state is not consistent") Signed-off-by: Tristan Partin <tristan@partin.io> Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'worker')
-rw-r--r--worker/jmap/directories.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/worker/jmap/directories.go b/worker/jmap/directories.go
index eac63398..2b253975 100644
--- a/worker/jmap/directories.go
+++ b/worker/jmap/directories.go
@@ -30,7 +30,7 @@ func (w *JMAPWorker) handleListDirectories(msg *types.ListDirectories) error {
// query information we might already know
cachedMailboxState, err := w.cache.GetMailboxState()
if err != nil {
- w.w.Warnf("PutMailboxState: %s", err)
+ w.w.Warnf("GetMailboxState: %s", err)
}
consistentMailboxState := currentMailboxState == cachedMailboxState