diff --git a/NEWS b/NEWS index dd9490652..28b052dbf 100644 --- a/NEWS +++ b/NEWS @@ -21,6 +21,7 @@ Bug fixes - [web] SOGoCalendarWeekdays must now be defined before saving preferences - [web] fixed CAS session timeout handling during XHR requests (#1456) - [web] exposed default value of SOGoMailAutoSave (#4053) + - [web] exposed default value of SOGoMailAddOutgoingAddresses (#4064) - [web] fixed handling of contact organizations (#4028) - [web] fixed handling of attachments in mail editor (#4058, #4063) - [web] fixed saving draft outside Mail module (#4071) diff --git a/UI/PreferencesUI/UIxJSONPreferences.m b/UI/PreferencesUI/UIxJSONPreferences.m index ae26ff895..fa3f75ac3 100644 --- a/UI/PreferencesUI/UIxJSONPreferences.m +++ b/UI/PreferencesUI/UIxJSONPreferences.m @@ -259,6 +259,9 @@ static SoProduct *preferencesProduct = nil; [defaults setContactsCategories: categoryLabels]; } + if (![[defaults source] objectForKey: @"SOGoMailAddOutgoingAddresses"]) + [[defaults source] setObject: [NSNumber numberWithBool: [defaults mailAddOutgoingAddresses]] forKey: @"SOGoMailAddOutgoingAddresses"]; + // // Default Mail preferences //