From 213a072b38d29d3c3ec8e150584685b1144a7d6a Mon Sep 17 00:00:00 2001
From: Chris <ccbrown112@gmail.com>
Date: Tue, 29 Aug 2017 16:14:59 -0500
Subject: PLT-6403: Interactive messages (#7274)

* wip

* finish first pass

* requested changes

* add DoPostAction to Client4
---
 webapp/components/post_view/post_attachment_list.jsx | 6 ++++++
 1 file changed, 6 insertions(+)

(limited to 'webapp/components/post_view/post_attachment_list.jsx')

diff --git a/webapp/components/post_view/post_attachment_list.jsx b/webapp/components/post_view/post_attachment_list.jsx
index cfd2f81f8..ce60a0155 100644
--- a/webapp/components/post_view/post_attachment_list.jsx
+++ b/webapp/components/post_view/post_attachment_list.jsx
@@ -9,6 +9,11 @@ import PropTypes from 'prop-types';
 export default class PostAttachmentList extends React.PureComponent {
     static propTypes = {
 
+        /**
+         * The post id
+         */
+        postId: PropTypes.string.isRequired,
+
         /**
          * Array of attachments to render
          */
@@ -21,6 +26,7 @@ export default class PostAttachmentList extends React.PureComponent {
             content.push(
                 <PostAttachment
                     attachment={attachment}
+                    postId={this.props.postId}
                     key={'att_' + i}
                 />
             );
-- 
cgit v1.2.3-1-g7c22

