Handle the behaviour of Reply/ReplyToList/ReplyAll button
Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user