fallthrough in worker selection

This commit is contained in:
Markus Ongyerth 2018-06-12 12:16:23 +02:00 committed by Drew DeVault
parent dc90be24de
commit 67d14977fa
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ func NewWorker(source string, logger *log.Logger) (*types.Worker, error) {
Logger: logger,
}
switch u.Scheme {
case "imap":
case "imap": fallthrough;
case "imaps":
worker.Backend = imap.NewIMAPWorker(worker)
default: