Repository navigation
Erase every store of a deleted account and keep a guest from deleting the stored one - #89
Merged
Merged
Conversation
Ocnrb
commented
Oct 6, 2026
Member
- Deleting an account left its sent DMs, failed outbox, epoch keys, reactions, unread counts, invites, sync state, settings (Graph API key included), push registry and wallet tokens on disk; each store now clears its own keys, matched by exact prefix
- disconnect() made the next account current without re-scoping storage, so it ran on the deleted account's keys until a cold start and its sync pull refilled them
- A guest session leaves the stored account current in the wallet store, so Delete erased that account's key and Unlock Key showed it; both are now refused and disabled for a guest
- Deleting an account left its sent DMs, failed outbox, epoch keys, reactions, unread counts, invites, sync state, settings (Graph API key included), push registry and wallet tokens on disk - Per-stream keys are matched by prefix only: another account's epoch key for a channel the deleted one owns contains its address too Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
- disconnect() made the next account current without re-scoping, so it ran on the deleted account's keys until a cold start, and its sync pull refilled them Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
- A guest leaves the last real account current in the wallet store, so Delete erased that account's key and Unlock Key showed it Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.