TF-2459 Remove unnecessary 'to' field value

This commit is contained in:
hieubt
2024-01-22 23:35:32 +07:00
committed by Dat H. Pham
parent da199b19fc
commit 79cb6a4118
@@ -123,7 +123,7 @@ extension PresentationEmailExtension on PresentationEmail {
if (mailboxRole == PresentationMailbox.roleSent) {
return Tuple3(to.asList(), [], []);
} else {
final replyToAddress = replyTo.asList().isNotEmpty ? to.asList() + replyTo.asList() : from.asList();
final replyToAddress = replyTo.asList().isNotEmpty ? replyTo.asList() : from.asList();
return Tuple3(replyToAddress, [], []);
}
case EmailActionType.replyAll: