@bobfrankston/rmfmail 1.2.292 → 1.2.293

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.
@@ -3148,7 +3148,9 @@ async function showMessage(accountId, uid, folderId, specialUse, isRetry = false
3148
3148
  b.addEventListener("click", async () => {
3149
3149
  b.disabled = true;
3150
3150
  try {
3151
- await trustSenderOrDomain(type, value);
3151
+ const res = await trustSenderOrDomain(type, value);
3152
+ if (!res?.trusted)
3153
+ throw new Error("the sender list did not save");
3152
3154
  warn.remove();
3153
3155
  document.querySelector(".mv-spamscore")?.remove();
3154
3156
  } catch (e) {