TF-3316 Fix inconsistent vacation message

This commit is contained in:
DatDang
2024-12-09 15:22:58 +07:00
committed by Dat H. Pham
parent a3aee57256
commit 71903d270f
11 changed files with 9 additions and 17 deletions
@@ -22,7 +22,6 @@ extension VacationResponseExtension on VacationResponse {
endTime: toDate?.value != null
? TimeOfDay.fromDateTime(toDate!.value.toLocal())
: null,
messagePlainText: textBody,
messageHtmlText: htmlBody,
subject: subject,
vacationStopEnabled: toDate != null
@@ -78,7 +77,6 @@ extension VacationResponseExtension on VacationResponse {
UTCDate? fromDate,
UTCDate? toDate,
String? subject,
String? textBody,
String? htmlBody
}) {
return VacationResponse(
@@ -86,7 +84,6 @@ extension VacationResponseExtension on VacationResponse {
fromDate: fromDate ?? this.fromDate,
toDate: toDate ?? this.toDate,
subject: subject ?? this.subject,
textBody: textBody ?? this.textBody,
htmlBody: htmlBody ?? this.htmlBody
);
}