aboutsummaryrefslogtreecommitdiff
path: root/clientapi/clientapi_test.go
diff options
context:
space:
mode:
authorkegsay <kegan@matrix.org>2023-04-24 11:50:37 +0100
committerGitHub <noreply@github.com>2023-04-24 11:50:37 +0100
commit4679098a6415ea8bfb7728ddafa587780849c059 (patch)
tree3d79888665972179fcb778f7a5f550f5c5b9d410 /clientapi/clientapi_test.go
parent1647213facae52e2c8889fbc848ffc5d3a5792f0 (diff)
Use IRoomVersion (#3064)
This is a step towards allowing arbitrary room version impls.
Diffstat (limited to 'clientapi/clientapi_test.go')
-rw-r--r--clientapi/clientapi_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/clientapi/clientapi_test.go b/clientapi/clientapi_test.go
index 0be26273..b6fb42a7 100644
--- a/clientapi/clientapi_test.go
+++ b/clientapi/clientapi_test.go
@@ -909,7 +909,7 @@ func TestCapabilities(t *testing.T) {
// construct the expected result
versionsMap := map[gomatrixserverlib.RoomVersion]string{}
for v, desc := range version.SupportedRoomVersions() {
- if desc.Stable {
+ if desc.Stable() {
versionsMap[v] = "stable"
} else {
versionsMap[v] = "unstable"