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

Commit

Permalink
Dismiss the search dialogue when starting a DM (#8967)
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonBrandner authored Jul 4, 2022
1 parent 352df7d commit a4701cc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/views/dialogs/spotlight/SpotlightDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -529,6 +529,7 @@ const SpotlightDialog: React.FC<IProps> = ({ initialText = "", initialFilter = n
key={`${Section[result.section]}-${result.member.userId}`}
onClick={() => {
startDm(cli, [result.member]);
onFinished();
}}
>
<SearchResultAvatar user={result.member} size={AVATAR_SIZE} />
Expand Down

0 comments on commit a4701cc

Please sign in to comment.