@social-mail/social-mail-client 1.1.19 → 1.1.20

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.
@@ -25799,20 +25799,13 @@ System.register(["@web-atoms/core/dist/core/XNode", "../../../../services/Emoji"
25799
25799
  senderEmail
25800
25800
  }) => {
25801
25801
  const emojiCode = "u" + Emoji.emojiUnicode(emoji);
25802
- const q = new URLSearchParams();
25803
- q.append("subject", `${emoji}:[{subject}]`);
25804
- q.append("body", `${emoji}
25805
-
25806
-
25807
- `);
25808
25802
  return XNode.create("a", {
25809
25803
  "data-element": "emoji-button",
25810
25804
  style: "padding-left:5px;padding-right:5px; text-decoration: none;",
25811
- href: `mailto:${senderEmail}?${q.toString()}`
25805
+ "data-command": "track",
25806
+ "data-track": emoji
25812
25807
  }, XNode.create("img", {
25813
25808
  style: "margin-left:5px; max-height: 16px; height: 16px;",
25814
- "data-track": emoji,
25815
- "data-src": `/social-mail/social/img/counts/${emojiCode}/[{messageId}]/[{activityId}]`,
25816
25809
  src: `/social-mail/social/img/counts/${emojiCode}/`
25817
25810
  }));
25818
25811
  };
@@ -25828,11 +25821,10 @@ System.register(["@web-atoms/core/dist/core/XNode", "../../../../services/Emoji"
25828
25821
  "data-element": "avatar",
25829
25822
  "data-editor-action": "change-avatar",
25830
25823
  style: "padding-left:5px;padding-right:5px; text-decoration: none;",
25831
- href: `mailto:${senderEmail}?subject=subscribe-[{messageId}]`
25824
+ "data-command": "subscribe"
25832
25825
  }, XNode.create("img", {
25833
25826
  alt: senderName,
25834
25827
  style: "margin-left:5px;height: 30px",
25835
- "data-src": "[{avatarUrl}]",
25836
25828
  src: svgImage(initials, 30)
25837
25829
  }));
25838
25830
  };