Make link preview image clickable

This commit is contained in:
Fedor Indutny 2021-06-03 17:42:01 -07:00 committed by GitHub
parent 8583be3775
commit 4c4351df39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -954,7 +954,9 @@ export class Message extends React.Component<Props, State> {
attachment: first.image,
messageId: id,
});
return;
}
openLink(first.url);
};
const contents = (
<>