Skip to content

Remove signature verification filter from drafts rendering - #97

Merged
asherp merged 2 commits into
stagingfrom
claude/confident-allen-iaysf9
Jun 12, 2026
Merged

Remove signature verification filter from drafts rendering#97
asherp merged 2 commits into
stagingfrom
claude/confident-allen-iaysf9

Conversation

@asherp

@asherp asherp commented Jun 12, 2026

Copy link
Copy Markdown
Owner

Summary

Removed the hide_unsigned_messages setting filter from the drafts list rendering logic. This setting is intended to protect against unverified inbound senders and should not apply to user-authored drafts, which are unsigned until sent.

Changes

  • Removed the hideUnverified filter that was preventing unsigned drafts from being displayed
  • Removed the associated empty state message for "No verified drafts found"
  • Updated code comments to clarify that drafts are authored by the current user and are not signed until sent, so the hide_unsigned_messages setting does not apply to them
  • Drafts rendering now mirrors the sent-mail rendering path behavior

Details

The hide_unsigned_messages setting is a security feature designed to filter out emails from unverified external senders. However, user drafts are inherently unsigned until they are sent, making this filter inappropriate for the drafts view. This change ensures drafts are always displayed to the user regardless of signature status.

https://claude.ai/code/session_01LrqsXTXYxSkN4ewqfuTqE1

asherp and others added 2 commits June 10, 2026 04:56
Release: merge staging into master
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.
@asherp
asherp changed the base branch from master to staging June 12, 2026 18:10
@asherp
asherp merged commit c9bc7e8 into staging Jun 12, 2026
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants