@bobfrankston/rmfmail 1.1.184 → 1.1.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.
@@ -9483,7 +9483,13 @@ if (savedTwoLine) document.getElementById("message-list")?.classList.add("two-li
9483
9483
  if (!savedPreview) document.querySelector(".main-area")?.classList.add("no-preview");
9484
9484
  if (!savedSnippet) document.getElementById("message-list")?.classList.add("no-snippets");
9485
9485
  if (savedThreaded) document.getElementById("ml-body")?.classList.add("threaded");
9486
- if (savedFlagged) document.getElementById("ml-body")?.classList.add("flagged-only");
9486
+ if (savedFlagged) {
9487
+ document.getElementById("ml-body")?.classList.add("flagged-only");
9488
+ try {
9489
+ logClientEvent("boot-restore-flagged", { savedFlagged });
9490
+ } catch {
9491
+ }
9492
+ }
9487
9493
  if (savedFolderCounts) document.getElementById("folder-tree")?.classList.add("show-folder-counts");
9488
9494
  optThreadFilter?.addEventListener("change", () => {
9489
9495
  const body = document.getElementById("ml-body");
@@ -10273,6 +10279,10 @@ function syncFilterFlaggedButton() {
10273
10279
  btn.setAttribute("aria-pressed", optFlagged?.checked ? "true" : "false");
10274
10280
  }
10275
10281
  function applyFlaggedFilter(on) {
10282
+ try {
10283
+ logClientEvent("applyFlaggedFilter", { on, caller: new Error().stack?.split("\n").slice(2, 5).join(" | ") });
10284
+ } catch {
10285
+ }
10276
10286
  if (optFlagged) optFlagged.checked = on;
10277
10287
  const body = document.getElementById("ml-body");
10278
10288
  if (on) body?.classList.add("flagged-only");