fix(logout): clear the call-volume list and settings-sync stamp (#347) #357

Merged
jared merged 1 commits from fix/logout-volume-residue into lotus 2026-10-12 16:07:43 -04:00
Owner

Fixes #347.

Logout left two keys in localStorage:

  • lotus-per-user-volume: Element Call's per-person volume map, i.e. whom the previous user called and turned up or down (same origin on the web);
  • settings-sync-meta:<userId>: a key naming the account.

clearPlaintextCaches now removes both. Device preferences (settings) are kept as before. Unit test added.

Verified: after joining and leaving a call, then logging out via Settings, both keys are gone.

🤖 Generated with Claude Code

https://claude.ai/code/session_017PCb59uY3UKqDqt7B6hzd5

Fixes #347. Logout left two keys in localStorage: - `lotus-per-user-volume`: Element Call's per-person volume map, i.e. whom the previous user called and turned up or down (same origin on the web); - `settings-sync-meta:<userId>`: a key naming the account. `clearPlaintextCaches` now removes both. Device preferences (`settings`) are kept as before. Unit test added. **Verified:** after joining and leaving a call, then logging out via Settings, both keys are gone. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_017PCb59uY3UKqDqt7B6hzd5
jared added 1 commit 2026-10-12 15:28:56 -04:00
fix(logout): clear the call-volume list and settings-sync stamp (#347)
CI / Build & Quality Checks (pull_request) Successful in 3m24s
CI / Trigger Desktop Build (pull_request) Skipped
CI / Docker image build & smoke test (pull_request) Skipped
CI / Secret scan (gitleaks) (pull_request) Successful in 8s
CI / Playwright smoke (e2e) (pull_request) Successful in 13m33s
85a2abc46a
Logout left lotus-per-user-volume (Element Call's per-person volume map:
whom the previous user called and turned up/down; same origin on the web)
and settings-sync-meta:<userId> (a key naming the account) in
localStorage. clearPlaintextCaches now removes both; device preferences
(`settings`) are kept as before.

Verified: after joining/leaving a call and logging out via Settings, both
keys are gone (unit test added).

Fixes #347

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017PCb59uY3UKqDqt7B6hzd5
jared merged commit 0bec28b651 into lotus 2026-10-12 16:07:43 -04:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: LotusGuild/cinny#357