From 5882264dc82aa44ad90d8b7582ebfd87b4b8e1c9 Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Mon, 15 Nov 2021 13:38:33 +0000 Subject: [PATCH] Update client error for incompatible room versions --- clientapi/jsonerror/jsonerror.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clientapi/jsonerror/jsonerror.go b/clientapi/jsonerror/jsonerror.go index 860b5590..ffe16f98 100644 --- a/clientapi/jsonerror/jsonerror.go +++ b/clientapi/jsonerror/jsonerror.go @@ -173,7 +173,7 @@ func IncompatibleRoomVersion(roomVersion gomatrixserverlib.RoomVersion) *Incompa return &IncompatibleRoomVersionError{ Code: "M_INCOMPATIBLE_ROOM_VERSION", RoomVersion: string(roomVersion), - Error: "Your homeserver does not support the features required to join this room", + Error: fmt.Sprintf("Your homeserver does not support the features required to join this version %q room", roomVersion), } }