Skip to content

fix(mobile): hide archived identities from mentions - #4521

Open
svndco wants to merge 1 commit into
block:mainfrom
svndco:fix/mobile-archived-mention-filter
Open

fix(mobile): hide archived identities from mentions#4521
svndco wants to merge 1 commit into
block:mainfrom
svndco:fix/mobile-archived-mention-filter

Conversation

@svndco

@svndco svndco commented Aug 3, 2026

Copy link
Copy Markdown

What changed

  • load the relay identity from its NIP-11 document and query the latest relay-signed NIP-IA kind:13535 archive snapshot
  • verify the snapshot signature, signer, and protected-event tag before trusting archived pubkeys
  • hide archived identities from channel-member, agent-directory, and user-search mention candidates while preserving the current user
  • keep mention suggestions hidden while archive state is loading or refreshing
  • add provider, candidate, and composer regression coverage

Why

Buzz Mobile built mention candidates without consulting the relay archive snapshot, so retired agent identities remained visible after they had been safely archived.

Verification

  • flutter test: 1,077 passed, 1 skipped
  • flutter analyze --no-pub: no issues
  • dart format --output=none --set-exit-if-changed lib test: clean
  • node scripts/check-file-sizes.mjs: passed
  • independent pre-commit review: passed with no blocking correctness or security issues

Originating Buzz channel: adf37e23-abde-4503-87d4-322593a0759e

Load and verify the relay-scoped NIP-IA archive snapshot before building mention candidates, then filter archived profiles from member, directory, and search sources.

Co-authored-by: Jeremy Allen <jeremy@svnd.co>
Signed-off-by: Jeremy Allen <jeremy@svnd.co>
@svndco
svndco requested a review from a team as a code owner August 3, 2026 12:45
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.

1 participant