Handle the behaviour of Reply/ReplyToList/ReplyAll button

Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
dab246
2025-02-18 11:50:27 +07:00
committed by Dat H. Pham
parent b8b70d26d4
commit bcad1e0cd9
9 changed files with 601 additions and 227 deletions
@@ -218,4 +218,11 @@ class EmailUtils {
return null;
}
}
static bool isReplyToListEnabled(String listPost) {
final recipientRecord = EmailUtils.extractRecipientsFromListPost(listPost);
return recipientRecord.toMailAddresses.isNotEmpty ||
recipientRecord.ccMailAddresses.isNotEmpty ||
recipientRecord.bccMailAddresses.isNotEmpty;
}
}