Skip to content

If I have a DM open with a user, searching for that user returns both the DM and the user separately #22697

Closed
matrix-org/matrix-react-sdk
#8978
@justjanne

Description

@justjanne

We should avoid returning a user in the “Suggestions” section if we already return an open DM with the same user in the “Recent Conversations” section.

Screenshot showing the new search. The search field contains the text “jannemk”. Two results are returned, both with the exact same name, avatar and mxid. One is in the section “Recent Conversations”, the other in the section “Suggestions”. These are the only results.

Metadata

Metadata

Assignees

Labels

A-New-Search-ExperienceThe new search dialog available in LabsO-OccasionalAffects or can be seen by some users regularly or most users rarelyS-MinorImpairs non-critical functionality or suitable workarounds existT-Defect

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions