@bobfrankston/rmfmail 1.2.185 → 1.2.186

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.
package/client/app.js CHANGED
@@ -2994,6 +2994,19 @@ window.addEventListener("message", (e) => {
2994
2994
  else
2995
2995
  window.open(url, "_blank", "noopener,noreferrer");
2996
2996
  }
2997
+ if (e.data?.type === "imgLoadFail") {
2998
+ // Remote images failed to load inside the preview iframe even though
2999
+ // remote content was allowed — silent before; now in the daemon log
3000
+ // with the first failing URL (Bob 2026-07-28: Nextdoor digest showed
3001
+ // every image broken while curl fetched them fine).
3002
+ try {
3003
+ logClientEvent("[viewer] remote images failed to load", {
3004
+ failed: e.data.count, total: e.data.total, first: e.data.first,
3005
+ });
3006
+ }
3007
+ catch { /* diagnostic only */ }
3008
+ return;
3009
+ }
2997
3010
  if (e.data?.type === "previewToggleFullscreen") {
2998
3011
  toggleFullscreenPreview();
2999
3012
  return;