-
Notifications
You must be signed in to change notification settings - Fork 380
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
MSC3375: Room version 9 #3375
Merged
Merged
MSC3375: Room version 9 #3375
Changes from 1 commit
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# MSC3375: Room Version 9 | ||
|
||
A new room version, `9`, is proposed using [room version 8](https://spec.matrix.org/unstable/rooms/v8/) | ||
as a base and incorporating the following: | ||
|
||
The redaction rules for room version 9 are updated, such that `m.room.member` | ||
events allow the `join_authorised_via_users_server` key in addition to the | ||
`membership` key. | ||
|
||
Though other MSCs are capable of being included in this version, they do not have | ||
sufficient implementation to be considered for this room version. A future room | ||
version may include them. | ||
|
||
Room version `9` upon being added to the specification shall be considered stable | ||
and room version `8` shall be considered unstable. No other room versions are | ||
clokep marked this conversation as resolved.
Show resolved
Hide resolved
|
||
affected by this MSC. | ||
|
||
## Background | ||
|
||
The redaction of this key was missing in [MSC3083](https://github.com/matrix-org/matrix-doc/blob/main/proposals/3083-restricted-rooms.md), | ||
but without redacting it new servers which join a room are unable to properly | ||
clokep marked this conversation as resolved.
Show resolved
Hide resolved
|
||
authorise `m.room.member` events which include the | ||
`join_authorised_via_users_server` key and have been redacted. | ||
This can cause a split-brained room where some servers believe a member is joined | ||
and other servers do not see the member in the room. | ||
|
||
Note that a new room version is necessary since this will change that event ID | ||
calculation of the `m.room.member` event (and thus is not backwards compatible). |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(Starting a thread just to have a thread.)
@turt2live asked me to do some additional testing with redaction. So I did the following:
m.room.member
events,m.room.join_rules
,m.room.history_visibility
,m.room.name
,m.room.guest_access
)@turt2live Please let me know if there's additional testing I should do!