Skip to content

Conversation

@robintown
Copy link
Member

This is not an MSC but rather an update to MSC2762. I'm using this PR to give our team a chance to discuss the update.

Currently MSC2762 is ambiguous as to whether the absence of a state_key in a read_events action means that both state events and message-like events should be returned, or just message-like events. We should clarify this behavior, and I for one find it difficult to imagine a real use case that would benefit from the ability to read both state events and message-like events of a single event type as part of the same request, so I propose we limit the response to just message-like events in this case. This aligns the behavior with what Element Web did prior to the introduction of the update_state action.

Currently MSC2762 is ambiguous as to whether the absence of a state_key in a read_events action means that both state events and message-like events should be returned, or just message-like events. We should clarify this behavior, and I for one find it difficult to imagine a real use case that would benefit from the ability to read both state events and message-like events of a single event type as part of the same request, so I propose we limit the response to just message-like events in this case. This aligns the behavior with what Element Web did prior to the introduction of the update_state action.
@robintown
Copy link
Member Author

Discussed in a VoIP team meeting, and we all seem aligned on this being a reasonable behavior.

@robintown robintown merged commit 0279975 into matrix-org:travis/msc/widgets-send-receive-events May 20, 2025
@Gnuxie
Copy link
Contributor

Gnuxie commented May 20, 2025

matrix.org has a voip team?

@toger5
Copy link

toger5 commented May 30, 2025

Element has and a part of the ppl advancing and working on the matrix.org widget spec are part of it. (but this is off-topic here. Its better to use an appropriate matrix room for these kind of questions.)

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.

3 participants