diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-08-04 14:10:31 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-08-04 14:10:31 +0100 |
| commit | 38ec06fc927bff26ed78e45358d847ebb4e484de (patch) | |
| tree | e5288640f39be5d577058080658f8d51a6c80afc /src/lib/config.cc | |
| parent | c1c32ec488524f5a562f4f0037c37f8c33038ba9 (diff) | |
Add KDM BCC email option.
Diffstat (limited to 'src/lib/config.cc')
| -rw-r--r-- | src/lib/config.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/config.cc b/src/lib/config.cc index 0588f01da..ee1b01386 100644 --- a/src/lib/config.cc +++ b/src/lib/config.cc @@ -195,6 +195,7 @@ Config::read () _kdm_subject = f.optional_string_child ("KDMSubject").get_value_or (_("KDM delivery: $CPL_NAME")); _kdm_from = f.string_child ("KDMFrom"); _kdm_cc = f.optional_string_child ("KDMCC").get_value_or (""); + _kdm_bcc = f.optional_string_child ("KDMBCC").get_value_or (""); _kdm_email = f.string_child ("KDMEmail"); _check_for_updates = f.optional_bool_child("CheckForUpdates").get_value_or (false); @@ -379,6 +380,7 @@ Config::write () const root->add_child("KDMSubject")->add_child_text (_kdm_subject); root->add_child("KDMFrom")->add_child_text (_kdm_from); root->add_child("KDMCC")->add_child_text (_kdm_cc); + root->add_child("KDMBCC")->add_child_text (_kdm_bcc); root->add_child("KDMEmail")->add_child_text (_kdm_email); root->add_child("CheckForUpdates")->add_child_text (_check_for_updates ? "1" : "0"); |
