aboutsummaryrefslogtreecommitdiff
path: root/clientapi/routing/server_notices.go
diff options
context:
space:
mode:
Diffstat (limited to 'clientapi/routing/server_notices.go')
-rw-r--r--clientapi/routing/server_notices.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/clientapi/routing/server_notices.go b/clientapi/routing/server_notices.go
index 66258a68..1c5d693c 100644
--- a/clientapi/routing/server_notices.go
+++ b/clientapi/routing/server_notices.go
@@ -28,7 +28,6 @@ import (
"github.com/sirupsen/logrus"
"github.com/matrix-org/dendrite/roomserver/types"
- "github.com/matrix-org/dendrite/roomserver/version"
appserviceAPI "github.com/matrix-org/dendrite/appservice/api"
"github.com/matrix-org/dendrite/clientapi/httputil"
@@ -135,7 +134,7 @@ func SendServerNotice(
var (
roomID string
- roomVersion = version.DefaultRoomVersion()
+ roomVersion = rsAPI.DefaultRoomVersion()
)
// create a new room for the user