fallthrough in worker selection
This commit is contained in:
parent
dc90be24de
commit
67d14977fa
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue