@social-mail/social-mail-client 1.2.538 → 1.2.539

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.
@@ -23304,7 +23304,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
23304
23304
  }],
23305
23305
  execute: function () {
23306
23306
  _export("renderMail", renderMail = AtomControl.registerProperty("data-html", "html", (c, e, value) => {
23307
- var _a, _b;
23307
+ var _a, _b, _c;
23308
23308
  if (!value) {
23309
23309
  e.innerHTML = "";
23310
23310
  return;
@@ -23326,7 +23326,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
23326
23326
  for (const iterator of descendentElementIterator(msg)) {
23327
23327
  let cid = iterator.getAttribute("data-content-id");
23328
23328
  if (cid) {
23329
- const a = mail.attachments.find(x => x.contentID === cid);
23329
+ const a = (_a = mail.attachments) === null || _a === void 0 ? void 0 : _a.find(x => x.contentID === cid);
23330
23330
  if (a) {
23331
23331
  iterator.setAttribute("src", a.url);
23332
23332
  continue;
@@ -23337,7 +23337,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
23337
23337
  if (src) {
23338
23338
  if (src.startsWith("cid:")) {
23339
23339
  cid = src.substring(4);
23340
- const a = (_a = mail.attachments) === null || _a === void 0 ? void 0 : _a.find(x => x.contentID === cid);
23340
+ const a = (_b = mail.attachments) === null || _b === void 0 ? void 0 : _b.find(x => x.contentID === cid);
23341
23341
  if (a) {
23342
23342
  iterator.setAttribute("src", fileUrl(a));
23343
23343
  }
@@ -23356,7 +23356,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
23356
23356
  mode: "open"
23357
23357
  });
23358
23358
  shadow.appendChild(msg);
23359
- if (!thread.timeRead && thread.mailboxID && thread.mailboxID !== ((_b = thread.email) === null || _b === void 0 ? void 0 : _b.senderID)) {
23359
+ if (!thread.timeRead && thread.mailboxID && thread.mailboxID !== ((_c = thread.email) === null || _c === void 0 ? void 0 : _c.senderID)) {
23360
23360
  const timeRead = DateTime.now;
23361
23361
  thread.timeRead = timeRead;
23362
23362
  const control = AtomControl.from(e);