Skip to content
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

Implement MSC3720 to determine whether a user exists #23465

Open
babolivier opened this issue Oct 12, 2022 · 0 comments
Open

Implement MSC3720 to determine whether a user exists #23465

babolivier opened this issue Oct 12, 2022 · 0 comments
Labels
A-Invite O-Uncommon Most users are unlikely to come across this or unexpected workflow T-Enhancement

Comments

@babolivier
Copy link
Contributor

Your use case

What would you like to do?

Currently when Element checks whether a user exists (e.g. when someone wants to invite another user into a room), it makes a profile request for that user (presumably for the lack of a better mechanism). However, this is prone to false negatives as it is valid for a Matrix user to not have a profile.

Why would you like to do it?

To be able to reliably tell if a user does not exist, instead of whether they might exist without a profile.

How would you like to achieve it?

MSC3720, which is already implemented in Synapse, provides a simple way for clients to check if a user (local or remote) exists and is active. I would propose the check in Element to verify if a user exists is changed to using this, with maybe a temporary fallback to check the profile if the homeserver does not support the MSC or the user appears in failures in the response.

Have you considered any alternatives?

No response

Additional context

No response

@SimonBrandner SimonBrandner added A-Invite O-Occasional Affects or can be seen by some users regularly or most users rarely O-Uncommon Most users are unlikely to come across this or unexpected workflow and removed O-Occasional Affects or can be seen by some users regularly or most users rarely labels Oct 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Invite O-Uncommon Most users are unlikely to come across this or unexpected workflow T-Enhancement
Projects
None yet
Development

No branches or pull requests

2 participants