Skip to content

I was surprised that /join does not return the event ID of my join event #1545

@DMRobertson

Description

@DMRobertson

Link to problem area: https://spec.matrix.org/v1.7/client-server-api/#post_matrixclientv3joinroomidoralias

Issue
The room ID is returned. This isn't known the the client at call time, if the client joins via an alias.

I naively expected the event_id to be included in the return payload: ultimately the result of /join is the homeserver making an publishing join event on my behalf. I frequently want to use this when writing E2E tests: join a room, be told what my join event is, then wait for my membership event to appear down /sync.

Metadata

Metadata

Assignees

No one assigned

    Labels

    clarificationAn area where the expected behaviour is understood, but the spec could do with being more explicit

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions