@bobfrankston/rmfmail 1.2.268 → 1.2.272

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.
Files changed (37) hide show
  1. package/client/android-bootstrap.bundle.js +15 -3
  2. package/client/android-bootstrap.bundle.js.map +2 -2
  3. package/client/app.bundle.js +16 -2
  4. package/client/app.bundle.js.map +2 -2
  5. package/client/components/message-viewer.js +3 -0
  6. package/client/components/message-viewer.js.map +1 -1
  7. package/client/components/message-viewer.ts +3 -0
  8. package/client/compose/compose.bundle.js +1 -1
  9. package/client/compose/compose.bundle.js.map +2 -2
  10. package/client/compose/compose.js +8 -1
  11. package/client/compose/compose.js.map +1 -1
  12. package/client/compose/compose.ts +8 -1
  13. package/client/package.json +1 -1
  14. package/package.json +7 -7
  15. package/packages/mailx-imap/package-lock.json +2 -2
  16. package/packages/mailx-imap/package.json +1 -1
  17. package/packages/mailx-settings/docs/thundermail-jmap.md +291 -0
  18. package/packages/mailx-settings/index.d.ts +1 -0
  19. package/packages/mailx-settings/index.d.ts.map +1 -1
  20. package/packages/mailx-settings/index.js +1 -0
  21. package/packages/mailx-settings/index.js.map +1 -1
  22. package/packages/mailx-settings/index.ts +1 -0
  23. package/packages/mailx-settings/package.json +1 -1
  24. package/packages/mailx-store/package.json +1 -1
  25. package/packages/mailx-store-web/package.json +1 -1
  26. package/packages/mailx-store-web/web-settings.d.ts +1 -0
  27. package/packages/mailx-store-web/web-settings.d.ts.map +1 -1
  28. package/packages/mailx-store-web/web-settings.js +1 -0
  29. package/packages/mailx-store-web/web-settings.js.map +1 -1
  30. package/packages/mailx-store-web/web-settings.ts +1 -0
  31. package/packages/mailx-types/index.d.ts +8 -1
  32. package/packages/mailx-types/index.d.ts.map +1 -1
  33. package/packages/mailx-types/index.js +25 -2
  34. package/packages/mailx-types/index.js.map +1 -1
  35. package/packages/mailx-types/index.ts +29 -2
  36. package/packages/mailx-types/package.json +1 -1
  37. /package/packages/mailx-imap/{node_modules.npmglobalize-stash-83744 → node_modules.npmglobalize-stash-72180}/.package-lock.json +0 -0
@@ -1382,9 +1382,20 @@ function displayNameClaimsOtherAddress(name, address) {
1382
1382
  const m = n.match(/[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,}/g);
1383
1383
  if (!m)
1384
1384
  return null;
1385
+ const realDomain = real.split("@").pop() || "";
1385
1386
  for (const claimed of m) {
1386
- if (claimed.toLowerCase() !== real)
1387
- return claimed;
1387
+ if (claimed.toLowerCase() === real)
1388
+ continue;
1389
+ const claimedDomain = claimed.toLowerCase().split("@").pop() || "";
1390
+ if (claimedDomain && realDomain) {
1391
+ if (claimedDomain === realDomain)
1392
+ continue;
1393
+ if (claimedDomain.endsWith("." + realDomain))
1394
+ continue;
1395
+ if (realDomain.endsWith("." + claimedDomain))
1396
+ continue;
1397
+ }
1398
+ return claimed;
1388
1399
  }
1389
1400
  return null;
1390
1401
  }
@@ -3493,6 +3504,9 @@ ${csp}
3493
3504
  html { height: 100%; overflow-y: auto; overflow-x: hidden; }
3494
3505
  body {
3495
3506
  font-family: system-ui, sans-serif;
3507
+ /* 17.5px x the 1.15 default preview zoom = ~20.1px effective, which is
3508
+ what COMPOSE_FONT_DEFAULT_PX (compose.ts) is set to match. Change one
3509
+ and change the other, or reading and writing drift apart again. */
3496
3510
  font-size: 17.5px;
3497
3511
  line-height: 1.5;
3498
3512
  color: #1a1a2e;