diff options
Diffstat (limited to 'worker/jmap/worker.go')
-rw-r--r-- | worker/jmap/worker.go | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/worker/jmap/worker.go b/worker/jmap/worker.go index f0b3de81..6adc0289 100644 --- a/worker/jmap/worker.go +++ b/worker/jmap/worker.go @@ -21,17 +21,22 @@ func init() { } type JMAPWorker struct { - // config - account *config.AccountConfig - endpoint string - oauth bool - user *url.Userinfo - query url.Values + config struct { + account *config.AccountConfig + endpoint string + oauth bool + user *url.Userinfo + query url.Values + useLabels bool + allMailName string + } w *types.Worker client *jmap.Client selectedMbox jmap.ID + archiveMbox jmap.ID + trashMbox jmap.ID mboxes map[jmap.ID]*MailboxState dir2mbox map[string]jmap.ID uidStore *uidstore.Store |