aboutsummaryrefslogtreecommitdiffstats
path: root/worker/jmap/state.go
diff options
context:
space:
mode:
Diffstat (limited to 'worker/jmap/state.go')
-rw-r--r--worker/jmap/state.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/worker/jmap/state.go b/worker/jmap/state.go
index 3dbab3fb..b86ec6ce 100644
--- a/worker/jmap/state.go
+++ b/worker/jmap/state.go
@@ -8,7 +8,7 @@ import (
func (w *JMAPWorker) getMailboxState() (string, error) {
var req jmap.Request
- req.Invoke(&mailbox.Get{Account: w.accountId, IDs: make([]jmap.ID, 0)})
+ req.Invoke(&mailbox.Get{Account: w.AccountId(), IDs: make([]jmap.ID, 0)})
resp, err := w.Do(&req)
if err != nil {
return "", err