fix(preferences(mail)): make sure auto-reply (vacation) text is set
parent
41bbbfacd9
commit
1c4ff40d33
|
@ -964,6 +964,9 @@ static NSString *sieveScriptName = @"sogo";
|
||||||
text = [values objectForKey: @"autoReplyText"];
|
text = [values objectForKey: @"autoReplyText"];
|
||||||
b = YES;
|
b = YES;
|
||||||
|
|
||||||
|
if (!text)
|
||||||
|
text = @"";
|
||||||
|
|
||||||
if (!useCustomSubject)
|
if (!useCustomSubject)
|
||||||
{
|
{
|
||||||
// If user has not specified a custom subject, fallback to the domain's defaults
|
// If user has not specified a custom subject, fallback to the domain's defaults
|
||||||
|
|
|
@ -985,6 +985,7 @@
|
||||||
</var:if>
|
</var:if>
|
||||||
<textarea name="autoReplyText"
|
<textarea name="autoReplyText"
|
||||||
id="autoReplyText"
|
id="autoReplyText"
|
||||||
|
ng-required="app.preferences.defaults.Vacation.enabled == 1"
|
||||||
ng-model="app.preferences.defaults.Vacation.autoReplyText"/>
|
ng-model="app.preferences.defaults.Vacation.autoReplyText"/>
|
||||||
<var:if condition="vacationFooter.length">
|
<var:if condition="vacationFooter.length">
|
||||||
<p class="text-preview" md-colors="::{color: 'default-background-600'}"><var:string value="vacationFooter"/></p>
|
<p class="text-preview" md-colors="::{color: 'default-background-600'}"><var:string value="vacationFooter"/></p>
|
||||||
|
|
Loading…
Reference in New Issue