@social-mail/social-mail-client 1.2.626 → 1.2.628

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.
@@ -23981,6 +23981,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
23981
23981
  const a = (_c = mail.attachments) === null || _c === void 0 ? void 0 : _c.find(x => x.contentID === cid);
23982
23982
  if (a) {
23983
23983
  iterator.setAttribute("src", fileUrl(a));
23984
+ a.included = true;
23984
23985
  }
23985
23986
  }
23986
23987
  if (/^http\:\/\//i.test(src)) {
@@ -24272,11 +24273,13 @@ System.register(["@web-atoms/core/dist/core/XNode"], function (_export, _context
24272
24273
  if (!((_a = email.attachments) === null || _a === void 0 ? void 0 : _a.length)) {
24273
24274
  return XNode.create("div", null);
24274
24275
  }
24276
+ if (email.attachments.length === 1) {
24277
+ if (email.attachments[0].included) {
24278
+ return XNode.create("div", null);
24279
+ }
24280
+ }
24275
24281
  const children = [];
24276
24282
  for (const element of email.attachments) {
24277
- if (element.contentID) {
24278
- continue;
24279
- }
24280
24283
  if (/video/i.test(element.contentType)) {
24281
24284
  children.push(XNode.create("video", {
24282
24285
  controls: "true",