summaryrefslogtreecommitdiffstats
path: root/webapp/components/post_view/components/post_message_container.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/components/post_view/components/post_message_container.jsx')
-rw-r--r--webapp/components/post_view/components/post_message_container.jsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/webapp/components/post_view/components/post_message_container.jsx b/webapp/components/post_view/components/post_message_container.jsx
index 4e27cd29a..676aa010e 100644
--- a/webapp/components/post_view/components/post_message_container.jsx
+++ b/webapp/components/post_view/components/post_message_container.jsx
@@ -15,7 +15,8 @@ import PostMessageView from './post_message_view.jsx';
export default class PostMessageContainer extends React.Component {
static propTypes = {
post: React.PropTypes.object.isRequired,
- options: React.PropTypes.object
+ options: React.PropTypes.object,
+ isLastPost: React.PropTypes.bool
};
static defaultProps = {
@@ -90,6 +91,7 @@ export default class PostMessageContainer extends React.Component {
<PostMessageView
options={this.props.options}
post={this.props.post}
+ isLastPost={this.props.isLastPost}
emojis={this.state.emojis}
enableFormatting={this.state.enableFormatting}
mentionKeys={this.state.mentionKeys}