diff options
author | Corey Hulen <corey@hulen.com> | 2017-02-23 10:59:16 -0500 |
---|---|---|
committer | enahum <nahumhbl@gmail.com> | 2017-02-23 12:59:16 -0300 |
commit | bc9f3dfa240b2a197859de006baf2eceaafe0fcf (patch) | |
tree | d887231eef8021a392401392270d547b5e94a8ff /webapp | |
parent | 748a416961923932e9b2969beb2730ee8c240ea7 (diff) | |
download | chat-bc9f3dfa240b2a197859de006baf2eceaafe0fcf.tar.gz chat-bc9f3dfa240b2a197859de006baf2eceaafe0fcf.tar.bz2 chat-bc9f3dfa240b2a197859de006baf2eceaafe0fcf.zip |
PLT-5394 fixing javascript when replying to a perma link. (#5515)
Diffstat (limited to 'webapp')
-rw-r--r-- | webapp/components/rhs_thread.jsx | 2 |
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'; } |