summaryrefslogtreecommitdiffstats
path: root/webapp/components/post_view/components/post.jsx
diff options
context:
space:
mode:
authorDebanshu Kundu <debanshu.kundu@joshtechnologygroup.com>2017-01-20 23:11:13 +0530
committerenahum <nahumhbl@gmail.com>2017-01-20 14:41:13 -0300
commit3aaf71fdea914af1a7f2b2fb97bb6ae44132fcc4 (patch)
treeb954407a03a6c0ed9836d8b14d910fc52c8dc1dc /webapp/components/post_view/components/post.jsx
parentfefe4b70d9e69910a8e3acd6890497553b5eff2f (diff)
downloadchat-3aaf71fdea914af1a7f2b2fb97bb6ae44132fcc4.tar.gz
chat-3aaf71fdea914af1a7f2b2fb97bb6ae44132fcc4.tar.bz2
chat-3aaf71fdea914af1a7f2b2fb97bb6ae44132fcc4.zip
#4257 Added functionality to create previews for post links using open graph data from those links. (#4890)
Diffstat (limited to 'webapp/components/post_view/components/post.jsx')
-rw-r--r--webapp/components/post_view/components/post.jsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/webapp/components/post_view/components/post.jsx b/webapp/components/post_view/components/post.jsx
index 8ba3438a0..896002a6c 100644
--- a/webapp/components/post_view/components/post.jsx
+++ b/webapp/components/post_view/components/post.jsx
@@ -289,6 +289,7 @@ export default class Post extends React.Component {
compactDisplay={this.props.compactDisplay}
previewCollapsed={this.props.previewCollapsed}
isCommentMention={this.props.isCommentMention}
+ childComponentDidUpdateFunction={this.props.childComponentDidUpdateFunction}
/>
</div>
</div>
@@ -317,5 +318,6 @@ Post.propTypes = {
useMilitaryTime: React.PropTypes.bool.isRequired,
isFlagged: React.PropTypes.bool,
status: React.PropTypes.string,
- isBusy: React.PropTypes.bool
+ isBusy: React.PropTypes.bool,
+ childComponentDidUpdateFunction: React.PropTypes.func
};