Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Replace MSC3244 support with in-client room version checking #9018

Merged
merged 3 commits into from
Jul 8, 2022

Conversation

turt2live
Copy link
Member

@turt2live turt2live commented Jul 7, 2022

Paired with matrix-org/matrix-js-sdk#2504
Fixes element-hq/element-web#22775

As of writing, the MSC is in FCP for rejection: matrix-org/matrix-spec-proposals#3244


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

@turt2live turt2live added the T-Task Refactoring, enabling or disabling functionality, other engineering tasks label Jul 7, 2022
@turt2live turt2live marked this pull request as ready for review July 7, 2022 21:05
@turt2live turt2live requested a review from a team as a code owner July 7, 2022 21:05
@turt2live turt2live requested review from SimonBrandner and removed request for andybalaam and duxovni July 8, 2022 05:07
@turt2live turt2live merged commit 644b841 into develop Jul 8, 2022
@turt2live turt2live deleted the travis/del-msc3244 branch July 8, 2022 06:32
},
});
}
createOpts.room_version = PreferredRoomVersions.RestrictedRooms;
Copy link
Member

Choose a reason for hiding this comment

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

Surely we ought to be checking IRoomVersionsCapability::available here otherwise we'll be asking for the server to create a room of a version it doesn't support and exploding

@turt2live this is a release blocker IMO

Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Member Author

Choose a reason for hiding this comment

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

from oob context: we could check available (and probably should), but realistically v9 has been out for so long that users shouldn't run into issues. We should also make the client extremely clear in what it needs from the server, per element-hq/element-web#22346

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
T-Task Refactoring, enabling or disabling functionality, other engineering tasks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove MSC3244 support
3 participants