@social-mail/social-mail-client 1.0.33 → 1.0.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -23401,10 +23401,13 @@ System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "
23401
23401
  var _a, _b;
23402
23402
  return __awaiter(this, void 0, void 0, function* () {
23403
23403
  const parse = JSON.parse(email.headers);
23404
- const emailAddressText = (_b = (_a = parse.replyTo) === null || _a === void 0 ? void 0 : _a[0]) !== null && _b !== void 0 ? _b : this.parameters.emailAddress.emailAddress;
23404
+ const emailAddressText = (_b = (_a = parse === null || parse === void 0 ? void 0 : parse.replyTo) === null || _a === void 0 ? void 0 : _a[0]) !== null && _b !== void 0 ? _b : this.parameters.emailAddress.emailAddress;
23405
+ const parentID = email.emailID;
23405
23406
  const child = Email.create({
23406
23407
  senderID: this.parameters.mailboxID,
23407
23408
  subject: "Re: " + email.subject,
23409
+ parentID,
23410
+ received: false,
23408
23411
  recipients: [EmailRecipient.create({
23409
23412
  emailAddressText
23410
23413
  })],