Check if users are already in the room before inviting them
Fixes https://github.com/vector-im/riot-web/issues/8965 This also addresses another issue where inviting a banned user shows up as "Unknown server error".
This commit is contained in:
parent
593bd8ff66
commit
4c4b2eedaf
2 changed files with 14 additions and 0 deletions
|
@ -238,8 +238,10 @@
|
|||
"Authentication check failed: incorrect password?": "Authentication check failed: incorrect password?",
|
||||
"Unrecognised address": "Unrecognised address",
|
||||
"You do not have permission to invite people to this room.": "You do not have permission to invite people to this room.",
|
||||
"User %(userId)s is already in the room": "User %(userId)s is already in the room",
|
||||
"User %(user_id)s does not exist": "User %(user_id)s does not exist",
|
||||
"User %(user_id)s may or may not exist": "User %(user_id)s may or may not exist",
|
||||
"The user must be unbanned before they can be invited.": "The user must be unbanned before they can be invited.",
|
||||
"Unknown server error": "Unknown server error",
|
||||
"Use a few words, avoid common phrases": "Use a few words, avoid common phrases",
|
||||
"No need for symbols, digits, or uppercase letters": "No need for symbols, digits, or uppercase letters",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue