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

Commit a4701cc

Browse files
Dismiss the search dialogue when starting a DM (#8967)
1 parent 352df7d commit a4701cc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/views/dialogs/spotlight/SpotlightDialog.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -529,6 +529,7 @@ const SpotlightDialog: React.FC<IProps> = ({ initialText = "", initialFilter = n
529529
key={`${Section[result.section]}-${result.member.userId}`}
530530
onClick={() => {
531531
startDm(cli, [result.member]);
532+
onFinished();
532533
}}
533534
>
534535
<SearchResultAvatar user={result.member} size={AVATAR_SIZE} />

0 commit comments

Comments
 (0)