Handle bad gateway error when starting direct chat
This commit is contained in:
@@ -47,6 +47,12 @@ HBox {
|
||||
if (type === "MatrixNotFound")
|
||||
txt = qsTr("This user does not exist")
|
||||
|
||||
if (type === "MatrixBadGateway")
|
||||
txt = qsTr(
|
||||
"Server error while trying to find user, please " +
|
||||
"verify the entered user ID"
|
||||
)
|
||||
|
||||
errorMessage.text = txt
|
||||
})
|
||||
},
|
||||
|
Reference in New Issue
Block a user