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

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 = (
<>