Error msg for bad invites in non-federated room

This commit is contained in:
miruka
2020-03-09 07:59:23 -04:00
parent 1f76ceb1e3
commit 0fa16400df
4 changed files with 28 additions and 10 deletions

View File

@@ -97,6 +97,10 @@ BoxPopup {
qsTr("%1 is not a valid user ID, expected format is " +
"@username:homeserver").arg(user) :
type === "UserFromOtherServerDisallowed" ?
qsTr("This room rejects users from other matrix " +
"servers, can't invite %1").arg(user) :
type === "UserNotFound" ?
qsTr("%1 not found, please verify the entered user ID")
.arg(user) :