Element-web: Inviting users by ID who aren't on the system silently fails

Created on 5 Jun 2016  路  4Comments  路  Source: vector-im/element-web

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

bug p1 major ux-user-discovery

Most helpful comment

All 4 comments

@erikjohnston should I be surprised that this doesn't work on synapse?

Clients should be able to do a GET /_matrix/client/r0/profile/<user_id> to check for the existence of users, it will return a 404 if user doesn't exist.

This looks actionable. Let's poke matrixClient.getProfileInfo when we display tiles in the invite dialog and indicate whether the user could be found. If not, we don't allow the invite to succeed.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lampholder picture lampholder  路  3Comments

nvbln picture nvbln  路  3Comments

niedzielski picture niedzielski  路  3Comments

turt2live picture turt2live  路  3Comments

richvdh picture richvdh  路  3Comments