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

Send extensible events structure and support on-demand parsing #2091

Merged
merged 8 commits into from
Jan 13, 2022

Conversation

turt2live
Copy link
Member

@turt2live turt2live commented Jan 4, 2022

Requires https://github.com/matrix-org/matrix-events-sdk
For matrix-org/matrix-react-sdk#7462
For element-hq/element-web#20405
MSC: matrix-org/matrix-spec-proposals#1767

This should be reviewable commit-by-commit.


Here's what your changelog entry will look like:

✨ Features

  • Send extensible events structure and support on-demand parsing (#2091).

We do this automatically to force a pool of messages in the wild we can use for testing.
@turt2live turt2live marked this pull request as ready for review January 11, 2022 05:26
@turt2live turt2live requested a review from a team as a code owner January 11, 2022 05:26
Copy link
Contributor

@andybalaam andybalaam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, assuming we trust matrix-events-sdk. I had a look at https://github.com/matrix-org/matrix-events-sdk/blob/main/src/events/MessageEvent.ts#L113 and it looks like we will still emit something clients will understand...

@andybalaam
Copy link
Contributor

andybalaam commented Jan 13, 2022

Should we modify https://github.com/vector-im/element-web#setting-up-a-dev-environment to include this project?

@turt2live
Copy link
Member Author

No, it actually makes development more hostile to have it linked up in the same way. Fixing that is somewhere on the list of things to do, as is making it possible for matrix-widget-api development to not suck in the same way.

As for trust, I hope we trust it. I spent a lot of time making it have unit tests (for once) :P

@turt2live turt2live merged commit 016e244 into develop Jan 13, 2022
@turt2live turt2live deleted the travis/extensible-events branch January 13, 2022 16:56
su-ex added a commit to SchildiChat/matrix-js-sdk that referenced this pull request Jan 31, 2022
* Support m.asset in m.location event content ([\matrix-org#2109](matrix-org#2109)).
* Send extensible events structure and support on-demand parsing ([\matrix-org#2091](matrix-org#2091)).
* Support cancelling events whilst they are in status = ENCRYPTING ([\matrix-org#2095](matrix-org#2095)).
* Fix http-api butchering idServer requests ([\matrix-org#2134](matrix-org#2134)). Fixes element-hq/element-web#20680.
* Don't remove streams that still have tracks ([\matrix-org#2104](matrix-org#2104)).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants