mirror of https://github.com/vector-im/riot-web
Dismiss the search dialogue when starting a DM (#8967)
parent
352df7ddc7
commit
a4701ccff1
|
@ -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 New Issue