@social-mail/social-mail-client 1.2.199 → 1.2.200

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.
@@ -36781,14 +36781,16 @@ System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "
36781
36781
  replyEmail({
36782
36782
  email
36783
36783
  }, ce) {
36784
- var _a, _b, _c;
36784
+ var _a, _b;
36785
36785
  return __awaiter(this, void 0, void 0, function* () {
36786
36786
  const parse = JSON.parse(email.headers);
36787
- 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).toLocaleLowerCase();
36787
+ const replyTo = (_a = parse === null || parse === void 0 ? void 0 : parse.replyTo) === null || _a === void 0 ? void 0 : _a[0];
36788
+ const emailAddressText = this.parameters.emailAddress.emailAddress.toLocaleLowerCase();
36788
36789
  const name = email.senderName;
36789
- const parentID = (_c = email.parentID) !== null && _c !== void 0 ? _c : email.emailID;
36790
+ const parentID = (_b = email.parentID) !== null && _b !== void 0 ? _b : email.emailID;
36790
36791
  const recipients = [EmailRecipient.create({
36791
36792
  name,
36793
+ replyTo,
36792
36794
  emailAddressText
36793
36795
  })];
36794
36796
  if (/all/i.test(ce.type)) {