summaryrefslogtreecommitdiffstats
path: root/webapp/components/rhs_thread.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/components/rhs_thread.jsx')
-rw-r--r--webapp/components/rhs_thread.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/components/rhs_thread.jsx b/webapp/components/rhs_thread.jsx
index 1f3245bb8..3c0b2e114 100644
--- a/webapp/components/rhs_thread.jsx
+++ b/webapp/components/rhs_thread.jsx
@@ -415,7 +415,7 @@ export default class RhsThread extends React.Component {
}
let status = 'offline';
- if (this.state.statuses) {
+ if (this.state.statuses && p && p.id) {
status = this.state.statuses[p.id] || 'offline';
}