Dismiss the search dialogue when starting a DM (#8967)
This commit is contained in:
parent
352df7ddc7
commit
a4701ccff1
1 changed files with 1 additions and 0 deletions
|
@ -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} />
|
||||
|
|
Loading…
Reference in a new issue