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

Chainmail: persisting messages #855

Open
cool-ant opened this issue Sep 19, 2024 · 0 comments
Open

Chainmail: persisting messages #855

cool-ant opened this issue Sep 19, 2024 · 0 comments

Comments

@cool-ant
Copy link
Member

cool-ant commented Sep 19, 2024

The user may want to save emails--preventing them from being purged or automatically archived. This would be a separate action that commits the given message to the chain state. This could feature as a bookmark toggle on the message itself. Of course, unsave should also exist.

James' thoughts 2024.09.27
I think sent messages should be stored in/displayed from localstorage, rather than from a chain query.
Because once we add message encryption, the sent messages will appear garbled since the sender can't decrypt them. And if they are shown from localstorage, then they won't actually disappear like received messages unless we introduce a localstorage clean-up policy.
10:43
And if you "save" a sent message, then it would actually re-encrypt the sent message with your own keys, so you can continue to see and read the sent message

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

No branches or pull requests

1 participant