summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--webapp/components/post_view/components/post_list.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/components/post_view/components/post_list.jsx b/webapp/components/post_view/components/post_list.jsx
index a1fd7a317..fc532c373 100644
--- a/webapp/components/post_view/components/post_list.jsx
+++ b/webapp/components/post_view/components/post_list.jsx
@@ -290,7 +290,7 @@ export default class PostList extends React.Component {
}
let status = '';
- if (this.props.statuses) {
+ if (this.props.statuses && profile) {
status = this.props.statuses[profile.id] || 'offline';
}