TF-3752 Better error handling when updating recipients in Forwarding
Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
@@ -7,7 +7,7 @@ extension TMailForwardExtension on TMailForward {
|
||||
|
||||
List<RecipientForward> get listRecipientForward {
|
||||
return forwards
|
||||
.map((value) => RecipientForward(EmailAddress(value, value)))
|
||||
.toList();
|
||||
?.map((value) => RecipientForward(EmailAddress(value, value)))
|
||||
.toList() ?? [];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user