mirror of
https://github.com/hoernschen/dendrite.git
synced 2024-12-27 07:28:27 +00:00
Update client error for incompatible room versions
This commit is contained in:
parent
1e3c19f31d
commit
5882264dc8
1 changed files with 1 additions and 1 deletions
|
@ -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),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue