-
Notifications
You must be signed in to change notification settings - Fork 539
Fix MSC4143: advertise org.matrix.msc4143 in /versions unstable_features #19646
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
base: develop
Are you sure you want to change the base?
Changes from all commits
b4e29b1
0415504
b58a735
7a37bbf
01f296c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| Advertise `org.matrix.msc4143` in `unstable_features` when `msc4143_enabled` is set. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -191,6 +191,8 @@ async def on_GET(self, request: SynapseRequest) -> tuple[int, JsonDict]: | |
| ), | ||
| # MSC4140: Delayed events | ||
| "org.matrix.msc4140": bool(self.config.server.max_event_delay_ms), | ||
| # MSC4143: Matrix RTC transports (LiveKit backend) | ||
| "org.matrix.msc4143": self.config.experimental.msc4143_enabled, | ||
| # Simplified sliding sync | ||
|
Comment on lines
191
to
196
|
||
| "org.matrix.simplified_msc3575": msc3575_enabled, | ||
| # Arbitrary key-value profile fields. | ||
|
|
||
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.
This needs to be fixed in the MSC if desired.
The MSC does not currently prescribe this flag to be added to
/versionsThere 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.
yeah fair point, the msc’s unstable prefix section doesn't mention this. looks like it just got missed - every other msc does this and without it clients have no way to know if the unstable endpoint exists
i can open a pr on matrix-spec-proposals to add it. do you want me to keep this change here in the meantime or should i pull it out until the msc is updated?
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.
I've added a thread on the MSC matrix-org/matrix-spec-proposals#4143 (comment)
We can see if the author gets back to us
I think it probably makes sense to have one (though it's not an automatic thing for every MSC as it's not always the case)
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.
Basically think I'm waiting on this before we can continue with anything here.