Skip to content

Commit 1ddd2b7

Browse files
x86pupjevolk
authored andcommitted
add missing unstable prefix for MSC4266 support policies
Signed-off-by: June Strawberry <june@girlboss.ceo>
1 parent 61f5b70 commit 1ddd2b7

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

crates/ruma-client-api/src/discovery/discover_support.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ pub struct Response {
5454
///
5555
/// As defined in [MSC4266](https://github.com/matrix-org/matrix-spec-proposals/pull/4266)
5656
#[cfg(feature = "unstable-msc4266")]
57+
#[serde(rename = "org.matrix.msc4266.policies")]
5758
#[serde(skip_serializing_if = "BTreeMap::is_empty")]
5859
pub policies: BTreeMap<String, Policies>,
5960
}

0 commit comments

Comments
 (0)