diff --git a/app/containers/message/Attachments.js b/app/containers/message/Attachments.js index 3d4ff48b4..0bcad59d6 100644 --- a/app/containers/message/Attachments.js +++ b/app/containers/message/Attachments.js @@ -15,13 +15,13 @@ const Attachments = React.memo(({ } return attachments.map((file, index) => { - if (file.image_url) { + if (file.type === 'file' && file.image_url) { return ; } - if (file.audio_url) { + if (file.type === 'file' && file.audio_url) { return