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

View file

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