Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When creating new identity, if existing KHID owned by user, get all mail from date KHID was registered. #304

Open
dnotestein opened this issue Feb 24, 2014 · 1 comment

Comments

@dnotestein
Copy link
Member

This will give user opportunity to retrieve old mail when re-creating an identity in a new profile (assuming the old mail is still stored in mail server). This is relatively low priority issue for now, just recording it for future.

@dnotestein
Copy link
Member Author

This was implemented by giving user choice of how much history to download when creating a new identity (default is none for now, eventually default could be creation date for registered KHIDs). Eventually this value could also be used to search for any "contact authorization" keys that need regenerating as well. Implemented in e371aad.

Note that since all identities share the last_sync_time, fetching history will re-fetch the history of any identity, not just the recently created one, so right now this will re-fill deleted messages in other identities. One possible way around this issue would be to temporarily set the decrypter into a mode where it only decrypts messages for the new identity, but this idea has problems (what if some new message came in that we do want for another identity, for example).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant