diff --git a/app/containers/message/index.js b/app/containers/message/index.js
index a431f54c2..96910f671 100644
--- a/app/containers/message/index.js
+++ b/app/containers/message/index.js
@@ -241,19 +241,20 @@ export default class Message extends React.Component {
return null;
}
- const file = this.props.item.attachments[0];
- const { user } = this.props;
- if (file.image_url) {
- return ;
- }
- if (file.audio_url) {
- return ;
- }
- if (file.video_url) {
- return ;
- }
+ return this.props.item.attachments.map((file) => {
+ const { user } = this.props;
+ if (file.image_url) {
+ return ;
+ }
+ if (file.audio_url) {
+ return ;
+ }
+ if (file.video_url) {
+ return ;
+ }
- return ;
+ return ;
+ });
}
renderUrl = () => {