Show self-authored drafts regardless of hide_unsigned_messages - #98
Closed
asherp wants to merge 3 commits into
Closed
Show self-authored drafts regardless of hide_unsigned_messages#98asherp wants to merge 3 commits into
asherp wants to merge 3 commits into
Conversation
Drafts are authored by the current user and are never signed until they are sent, so signature_valid is always null on them. renderDrafts was filtering on signature_valid !== true whenever hide_unsigned_messages was enabled (the default), which silently hid every saved draft from the drafts page. Mirror the sent-mail rendering path, which already bypasses this filter because that mail is self-authored, and drop the now-unreachable 'no verified drafts' empty state.
Remove signature verification filter from drafts rendering
…ent workflow Generalize the existing hybrid attachment encryption (random AES-256 key wrapped with NIP-44) to N recipients via a per-message Content Encryption Key and a new RECIPIENTS armor block. Define To:=signer / Cc:=viewer roles, the sender self-stanza for Sent-folder access, per-level recipients in reply chains, signature coverage of the recipients block, and a DocuSign-style agreement/signing-round workflow that is independently verifiable from the email thread. Bumps spec to 0.3.0-draft.
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.
Drafts are authored by the current user and are never signed until they
are sent, so signature_valid is always null on them. renderDrafts was
filtering on signature_valid !== true whenever hide_unsigned_messages was
enabled (the default), which silently hid every saved draft from the
drafts page.
Mirror the sent-mail rendering path, which already bypasses this filter
because that mail is self-authored, and drop the now-unreachable
'no verified drafts' empty state.