TF-1749 Handle delete drafts email after send email successfully
(cherry picked from commit bbef527d780425364660221271295a3fa733dcde)
This commit is contained in:
@@ -27,17 +27,4 @@ class EmailRequest with EquatableMixin {
|
||||
identity,
|
||||
emailIdDestroyed
|
||||
];
|
||||
}
|
||||
|
||||
extension EmailRequestExtension on EmailRequest {
|
||||
|
||||
EmailRequest toEmailRequest({Email? newEmail}) {
|
||||
return EmailRequest(
|
||||
newEmail ?? email,
|
||||
submissionCreateId,
|
||||
sentMailboxId: sentMailboxId,
|
||||
identity: identity,
|
||||
emailIdDestroyed: emailIdDestroyed
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user