mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-26 08:13:09 -06:00
Mention unstable features in /_matrix/client/versions
This commit is contained in:
parent
bb9e6a1281
commit
178ad2e9b3
|
|
@ -68,7 +68,8 @@ func Setup(
|
||||||
Code: http.StatusOK,
|
Code: http.StatusOK,
|
||||||
JSON: struct {
|
JSON: struct {
|
||||||
Versions []string `json:"versions"`
|
Versions []string `json:"versions"`
|
||||||
}{[]string{
|
UnstableFeatures map[string]bool `json:"unstable_features"`
|
||||||
|
}{Versions: []string{
|
||||||
"r0.0.1",
|
"r0.0.1",
|
||||||
"r0.1.0",
|
"r0.1.0",
|
||||||
"r0.2.0",
|
"r0.2.0",
|
||||||
|
|
@ -76,6 +77,8 @@ func Setup(
|
||||||
"r0.4.0",
|
"r0.4.0",
|
||||||
"r0.5.0",
|
"r0.5.0",
|
||||||
"r0.6.1",
|
"r0.6.1",
|
||||||
|
},UnstableFeatures: map[string]bool{
|
||||||
|
"org.matrix.msc2836": true,
|
||||||
}},
|
}},
|
||||||
}
|
}
|
||||||
}),
|
}),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue