TF-1608 Add references and inReplyTo fields to email offline

(cherry picked from commit 1f58a814a5003c3cbd1f3ba287de5bb54565d52f)
This commit is contained in:
dab246
2023-09-20 15:43:26 +07:00
committed by Dat H. Pham
parent d53c83920b
commit 97b5be71a7
8 changed files with 35 additions and 7 deletions
@@ -15,7 +15,9 @@ extension DetailedEmailExtension on DetailedEmail {
attachments: attachments?.toHiveCache(),
headers: headers?.toList().toHiveCache(),
keywords: keywords?.toMapString(),
emailContentPath: emailContentPath
emailContentPath: emailContentPath,
messageId: messageId?.ids.toList(),
references: references?.ids.toList(),
);
}
@@ -32,6 +34,8 @@ extension DetailedEmailExtension on DetailedEmail {
keywords: keywords,
htmlEmailContent: htmlEmailContent,
emailContentPath: path,
messageId: messageId,
references: references,
);
}
}