feat: enable the stable endpoint for MSC3266 room summaries #25
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: continuwuation/ruwuma#25
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "nex/feat/MSC3266"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR enables the stable endpoint for MSC3266, which was stabilised in v1.15.
@ -86,9 +86,9 @@ pub mod msc3266 {
/// Version of the room.
#[serde(
skip_serializing_if = "Option::is_none",
rename = "im.nheko.summary.room_version",
Worried that this might break stuff that hits the unstable endpoint and then expects the unstable prefixes, but not a big concern
This is in spec now, the unstable prefixes shouldn't be used anymore. If serde has a way to use both in parallel let me know, but afiak we're supposed to drop the unstable prefix as soon as the relevant spec version is released
I don't think there's much we can do here, save for writing both fields - we can't really fall back with serialisation.