From d619f45e2458ea79618e6d8403ba828f61ddd8da Mon Sep 17 00:00:00 2001 From: Tristan Partin Date: Tue, 28 May 2024 17:56:07 -0500 Subject: 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 Acked-by: Robin Jarry --- worker/jmap/directories.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'worker/jmap/directories.go') 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 -- cgit