Display thumbnails for video attachments
This commit is contained in:
parent
47634acc3d
commit
a6e3d5cbae
|
@ -267,7 +267,6 @@
|
||||||
src="libtextsecure/protocol_wrapper.js"
|
src="libtextsecure/protocol_wrapper.js"
|
||||||
></script>
|
></script>
|
||||||
|
|
||||||
<script type="text/javascript" src="js/notifications.js"></script>
|
|
||||||
<script type="text/javascript" src="js/libphonenumber-util.js"></script>
|
<script type="text/javascript" src="js/libphonenumber-util.js"></script>
|
||||||
<script type="text/javascript" src="js/expiring_messages.js"></script>
|
<script type="text/javascript" src="js/expiring_messages.js"></script>
|
||||||
<script
|
<script
|
||||||
|
|
|
@ -71,7 +71,7 @@ export const AttachmentList = ({
|
||||||
attachments.length > 1 ? onClickAttachment : undefined;
|
attachments.length > 1 ? onClickAttachment : undefined;
|
||||||
|
|
||||||
const imageUrl =
|
const imageUrl =
|
||||||
isVideo && !attachment.screenshot ? BLANK_VIDEO_THUMBNAIL : url;
|
url || (isVideo ? BLANK_VIDEO_THUMBNAIL : undefined);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Image
|
<Image
|
||||||
|
|
Loading…
Reference in New Issue