Handle 502 errors when inviting bad user to room

This commit is contained in:
miruka
2020-05-29 16:45:08 -04:00
parent 01d3b6b489
commit 877290fc00
3 changed files with 17 additions and 7 deletions

View File

@@ -108,6 +108,10 @@ BoxPopup {
qsTr("%1 not found, please verify the entered user ID")
.arg(user) :
type === "MatrixBadGateway" ?
qsTr("Server error while trying to find %1, please " +
"verify the entered user ID").arg(user) :
type === "MatrixUnsupportedRoomVersion" ?
qsTr("%1's server does not support this room's version")
.arg(user) :