Skip to content

Enhancement: list() silently ignores recipient when both sender and recipient are provided #452

Description

@Jaydbrown

StreamsModule.list() (src/streams.ts) does if (sender) { ... } else if (recipient) { ... } — if a caller passes both sender and recipient in ListStreamsParams, recipient is silently dropped and only the sender-filtered page is returned. This isn't documented anywhere in docs/api.md's list(params) table, and there's no runtime warning or error, so a caller who genuinely wants "streams where I'm either sender or recipient" gets a subtly wrong (sender-only) result with no indication anything was ignored.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions