Update client error for incompatible room versions

This commit is contained in:
Neil Alexander 2021-11-15 13:38:33 +00:00
parent 1e3c19f31d
commit 5882264dc8
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

@ -173,7 +173,7 @@ func IncompatibleRoomVersion(roomVersion gomatrixserverlib.RoomVersion) *Incompa
return &IncompatibleRoomVersionError{ return &IncompatibleRoomVersionError{
Code: "M_INCOMPATIBLE_ROOM_VERSION", Code: "M_INCOMPATIBLE_ROOM_VERSION",
RoomVersion: string(roomVersion), 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),
} }
} }