Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement new extensible events parsing interface and intercept non-extensible messages in supported rooms #3067

Draft
wants to merge 5 commits into
base: develop
Choose a base branch
from

Conversation

turt2live
Copy link
Member

@turt2live turt2live commented Jan 13, 2023

matrix-org/matrix-spec-proposals#1767 covers this in a whole lot more detail, but the tldr is extensible events (v2) is gated by a room version: any old events sent in that room version are not supposed to be rendered, and we're supposed to be sending the new extensible event types.

This PR implements the new event parsing interface from the events-sdk (normally a breaking change, but not here because unstable), and converts m.room.message events to their extensible versions in room versions where it matters, for the event types we know we can support with the events-sdk.

This is very much a work in progress and a bit of a hack - the intention is to demonstrate the functionality and hopefully improve on it later.


This change is marked as an internal change (Task), so will not be included in the changelog.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-Task Tasks for the team like planning
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant