Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Remove Matrix URL in search for other people and rooms #14335

Closed
RoninAngle1 opened this issue Oct 31, 2022 · 2 comments
Closed

Remove Matrix URL in search for other people and rooms #14335

RoninAngle1 opened this issue Oct 31, 2022 · 2 comments
Labels
A-User-Directory T-Other Questions, user support, anything else.

Comments

@RoninAngle1
Copy link

RoninAngle1 commented Oct 31, 2022

Hi,

Is there a way to remove the domain name in search for a user?

When I search for a user in Element, I currently have to search for @username:<matrix domain> but would like to just use @username.

I know it's possible to search for users on the local server but there is a need to also find users on remote federated servers with other Matrix domains.

Thanks

@RoninAngle1
Copy link
Author

Hi again
I forgot to say is there a way to auto fill it except removing it too?

@DMRobertson DMRobertson added the T-Other Questions, user support, anything else. label Oct 31, 2022
@MadLittleMods MadLittleMods changed the title remove matrix url in search for other people and rooms Remove Matrix URL in search for other people and rooms Jun 15, 2023
@MadLittleMods
Copy link
Contributor

@RoninAngle1 Your request was a little hard to understand. I've updated the description but there are a few assumptions so please make sure it's still accurate.

Fundamentally, you can already search for @username to find relevant users locally and if you have the user_directory.search_all_users config set, it will also find any user that your server shares a room in common with.

If you want to prefer results from your local server, can enable the user_directory.prefer_local_users config option.

If you want to prevent people from finding people that are not known already, you could set limit_profile_requests_to_users_who_share_rooms. There is also element-hq/element-web#22102

If you're after hiding the domain part of the MXID, that would be something to request in the Element tracker, https://github.com/vector-im/element-web/issues

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A-User-Directory T-Other Questions, user support, anything else.
Projects
None yet
Development

No branches or pull requests

3 participants