diff options
Diffstat (limited to 'config/config.go')
-rw-r--r-- | config/config.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config/config.go b/config/config.go index e0c86082..ebdee5e1 100644 --- a/config/config.go +++ b/config/config.go @@ -112,6 +112,7 @@ type AccountConfig struct { SignatureCmd string EnableFoldersSort bool `ini:"enable-folders-sort"` FoldersSort []string `ini:"folders-sort" delim:","` + AddressBookCmd string `ini:"address-book-cmd"` // CheckMail CheckMail time.Duration `ini:"check-mail"` @@ -279,6 +280,8 @@ func loadAccountConfig(path string) ([]AccountConfig, error) { account.PgpAutoSign, _ = strconv.ParseBool(val) } else if key == "pgp-opportunistic-encrypt" { account.PgpOpportunisticEncrypt, _ = strconv.ParseBool(val) + } else if key == "address-book-cmd" { + account.AddressBookCmd = val } else if key != "name" { account.Params[key] = val } |