Skip to content

feat(channels): filter channel list by keyKnown - #197

Merged
MrAlders0n merged 1 commit into
devfrom
feat/channels-keyknown-filter
Oct 1, 2026
Merged

MrAlders0n merged 1 commit into
devfrom
feat/channels-keyknown-filter

Conversation

@MrAlders0n

Copy link
Copy Markdown
Member

Adds an optional keyKnown=true|false query param to GET /api/v1/channels. The filter runs in both list queries before LIMIT, so cursors and hasMore reflect the filtered set. NULL key_known counts as false, matching ChannelSummary.KeyKnown. Any other value returns 400.

The web Channels list will load all decryptable channels first, then page the rest behind "Load other channels".

Also fixes the TestChannelCursorPostgres seed, which still used channel_iatas after channel lists moved to MeshMapper/config scoping.

Also seed the cursor integration test with MeshMapper membership; it still
used channel_iatas after channel lists moved to region scoping.
@MrAlders0n
MrAlders0n merged commit 119be44 into dev Oct 1, 2026
3 checks passed
@MrAlders0n
MrAlders0n deleted the feat/channels-keyknown-filter branch October 1, 2026 13:06
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