diff options
Diffstat (limited to 'worker/imap/configure.go')
-rw-r--r-- | worker/imap/configure.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/worker/imap/configure.go b/worker/imap/configure.go index 94b5ac60..c325de23 100644 --- a/worker/imap/configure.go +++ b/worker/imap/configure.go @@ -155,6 +155,12 @@ func (w *IMAPWorker) handleConfigure(msg *types.Configure) error { return fmt.Errorf("invalid cache-max-age value %v: %w", value, err) } w.config.cacheMaxAge = val + case "use-gmail-ext": + val, err := strconv.ParseBool(value) + if err != nil { + return fmt.Errorf("invalid use-gmail-ext value %v: %w", value, err) + } + w.config.useXGMEXT = val } } if w.config.cacheEnabled { |