summaryrefslogtreecommitdiffstats
path: root/webapp/components/rhs_comment.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/components/rhs_comment.jsx')
-rw-r--r--webapp/components/rhs_comment.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/components/rhs_comment.jsx b/webapp/components/rhs_comment.jsx
index 67fd394b9..cb527d850 100644
--- a/webapp/components/rhs_comment.jsx
+++ b/webapp/components/rhs_comment.jsx
@@ -286,7 +286,7 @@ export default class RhsComment extends React.Component {
const isSystemMessage = PostUtils.isSystemMessage(post);
var currentUserCss = '';
- if (this.props.currentUser === post.user_id) {
+ if (this.props.currentUser.id === post.user_id) {
currentUserCss = 'current--user';
}