diff options
| author | Adam Soltys <[email protected]> | 2026-09-14 17:47:19 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-09-14 17:47:19 -0700 |
| commit | 135dd91a384469967a277eae3b685717fa6d2340 (patch) | |
| tree | 9f5b061a80a8e5815c166fb05b74ee8cc7c20194 /src | |
| parent | 5a0f70fcedd7a02a159de1819082981a6fd6244f (diff) | |
| download | coinosv3-135dd91a384469967a277eae3b685717fa6d2340.tar.gz coinosv3-135dd91a384469967a277eae3b685717fa6d2340.zip | |
A new identity starts with an empty Notifications list.
Logging out and opening another account kept showing the last account's
replies and zaps: the list lived in memory across the switch, alongside
the feed and tallies that were already being cleared. It is cleared with
them now, together with the who-zapped map and any open panels.
Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01QYJfZ4A1TDCEY4Foq3CApR
Diffstat (limited to 'src')
| -rw-r--r-- | src/features/messages.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/features/messages.js b/src/features/messages.js index 71daef8..b549b62 100644 --- a/src/features/messages.js +++ b/src/features/messages.js @@ -5635,6 +5635,10 @@ export function messagesFeature(ctx) { follows = null; followsAt = 0; feed = null; feedAt = 0; relayLists = null; mutes = null; mutesAt = 0; reacts.clear(); boosts.clear(); seenNoteEv.clear(); myReactEv.clear(); quoted.clear(); + // what happened to THEIR posts stays with them — the next identity + // starts its list empty and asks the relays under its own key + stopNotifWatch(); notif = null; notifAt = 0; notifNotes.clear(); + zapWho.clear(); whoOpenIds.clear(); clearTimeout(zapSaveT); zapSaveT = null; zapSeed = null; zapTotals.clear(); zapAsked.clear(); zapPending.clear(); // 'mine' is per identity — refetch under the next }, |
