@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.
@@ -29435,14 +29435,16 @@ System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "
29435
29435
  replyEmail({
29436
29436
  email
29437
29437
  }, ce) {
29438
- var _a, _b, _c;
29438
+ var _a, _b;
29439
29439
  return __awaiter(this, void 0, void 0, function* () {
29440
29440
  const parse = JSON.parse(email.headers);
29441
- 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();
29441
+ const replyTo = (_a = parse === null || parse === void 0 ? void 0 : parse.replyTo) === null || _a === void 0 ? void 0 : _a[0];
29442
+ const emailAddressText = this.parameters.emailAddress.emailAddress.toLocaleLowerCase();
29442
29443
  const name = email.senderName;
29443
- const parentID = (_c = email.parentID) !== null && _c !== void 0 ? _c : email.emailID;
29444
+ const parentID = (_b = email.parentID) !== null && _b !== void 0 ? _b : email.emailID;
29444
29445
  const recipients = [EmailRecipient.create({
29445
29446
  name,
29447
+ replyTo,
29446
29448
  emailAddressText
29447
29449
  })];
29448
29450
  if (/all/i.test(ce.type)) {