diff options
Diffstat (limited to 'commands/completion_helpers.go')
-rw-r--r-- | commands/completion_helpers.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/completion_helpers.go b/commands/completion_helpers.go index 02c13526..7f046630 100644 --- a/commands/completion_helpers.go +++ b/commands/completion_helpers.go @@ -29,7 +29,7 @@ func GetAddress(search string) []string { log.Warnf("could not complete header: %v", err) }) - if len(search) > config.Ui.CompletionMinChars && cmpl != nil { + if cmpl != nil { addrList, _ := cmpl.ForHeader("to")(search) for _, full := range addrList { addr, err := mail.ParseAddress(full) |