Thats what I was thinking of doing, but unfortunately having an encrypted sqlite db in the browser is really difficult :)
Do you think it would be better if the database encryption key was a password or pin provided by the user?
Also why does 0xchat ask to NIP-04 encrypt and sign 443 events when I open it? I thought it was only decrypting my DMs