-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inviting users by ID who aren't on the system silently fails #1597
Comments
@erikjohnston should I be surprised that this doesn't work on synapse? |
Clients should be able to do a |
This looks actionable. Let's poke |
Fixes element-hq/element-web#3283 Fixes element-hq/element-web#3968 Fixes element-hq/element-web#4308 Fixes element-hq/element-web#1597 Fixes element-hq/element-web#6790 This does 3 things: * Makes the `MultiInviter` check for a user profile before attempting an invite. This is to prove the user exists. * Use the `MultiInviter` everywhere to avoid duplicating the logic. Although a couple places only invite one user, it is still worthwhile. * Communicate errors from the `MultiInviter` to the user in all cases. This is done through dialogs, where some existed previously but were not invoked. Specifically to the 403 error not working: What was happening was the `MultiInviter` loop was setting the `fatal` flag, but that didn't resolve the promise it stored. This caused a promise to always be open, therefore never hitting a dialog.
Fixed by matrix-org/matrix-react-sdk#2317 |
Created by @ matthew:matrix.org.
If I invite @89y245tr8egfs:matrix.org to a room, surely it should tell me that that user doesn't exist
The text was updated successfully, but these errors were encountered: