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

Searching for exact user ids in the user directory fails to match #3631

Open
Half-Shot opened this issue Jul 31, 2018 · 1 comment
Open

Searching for exact user ids in the user directory fails to match #3631

Half-Shot opened this issue Jul 31, 2018 · 1 comment
Labels
z-minor (Deprecated Label) z-p2 (Deprecated Label)

Comments

@Half-Shot
Copy link
Collaborator

Description

curl 'https://matrix.half-shot.uk/_matrix/client/r0/user_directory/search?' --data '{"search_term":"@Half-Shot:half-shot.uk"}'

Results in: { "limited": false, "results": [] }

Whereas:

curl 'https://matrix.half-shot.uk/_matrix/client/r0/user_directory/search?' --data '{"search_term":"@Half-Shot:half-shot"}'

Comes back with many results, including the one I was after.

Version information

  • Version: Synapse/0.33.0
@bmarty
Copy link

bmarty commented Oct 29, 2020

FTR in Element Android we add manually the matrixId in the search result if the search term is a valid matrixId and if it is not return by synapse. But the avatar is not available when we are doing that.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
z-minor (Deprecated Label) z-p2 (Deprecated Label)
Projects
None yet
Development

No branches or pull requests

3 participants