diff options
author | JoramWilander <jwawilander@gmail.com> | 2016-02-23 11:09:59 -0500 |
---|---|---|
committer | JoramWilander <jwawilander@gmail.com> | 2016-02-23 11:09:59 -0500 |
commit | 1f049af2b7ea41a5e1e79a8263e10fa58f186c8d (patch) | |
tree | 4a49aef95e886f10052b83319588f02ec75d830e /web/react/components/post_body.jsx | |
parent | c16071afc5320677bc2c13fa4dff941152e18970 (diff) | |
download | chat-1f049af2b7ea41a5e1e79a8263e10fa58f186c8d.tar.gz chat-1f049af2b7ea41a5e1e79a8263e10fa58f186c8d.tar.bz2 chat-1f049af2b7ea41a5e1e79a8263e10fa58f186c8d.zip |
Refactor listener out of user profile and fix thread logic
Diffstat (limited to 'web/react/components/post_body.jsx')
-rw-r--r-- | web/react/components/post_body.jsx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/web/react/components/post_body.jsx b/web/react/components/post_body.jsx index efeabdfff..b187acba3 100644 --- a/web/react/components/post_body.jsx +++ b/web/react/components/post_body.jsx @@ -39,12 +39,10 @@ class PostBody extends React.Component { this.loadImg = this.loadImg.bind(this); const linkData = Utils.extractLinks(this.props.post.message); - const profiles = UserStore.getProfiles(); this.state = { links: linkData.links, - post: this.props.post, - hasUserProfiles: profiles && Object.keys(profiles).length > 1 + post: this.props.post }; } |