Skip to content

Commit

Permalink
PLT-5394 fixing javascript when replying to a perma link. (mattermost…
Browse files Browse the repository at this point in the history
  • Loading branch information
coreyhulen authored and enahum committed Feb 23, 2017
1 parent b6da031 commit baa5550
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/rhs_thread.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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';
}

Expand Down

0 comments on commit baa5550

Please sign in to comment.