summaryrefslogtreecommitdiffstats
path: root/web/react/components/post_body.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'web/react/components/post_body.jsx')
-rw-r--r--web/react/components/post_body.jsx4
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
};
}