mirror of
https://github.com/mattermost/mattermost.git
synced 2026-09-24 16:05:00 +08:00
PLT-5394 fixing javascript when replying to a perma link. (#5515)
This commit is contained in:
@@ -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';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user