summaryrefslogtreecommitdiffstats
path: root/webapp/components/rhs_comment.jsx
diff options
context:
space:
mode:
authorDavid Lu <david.lu@hotmail.com>2016-07-18 09:31:06 -0400
committerChristopher Speller <crspeller@gmail.com>2016-07-18 09:31:06 -0400
commit180adc79af3d14de6ce62f6e687a6735db3fe82f (patch)
tree7016b7e078f2a098d6fb6006056953860bfda9e8 /webapp/components/rhs_comment.jsx
parentf7b3731b2b2767b0784e1f2e0ce723cae917c47a (diff)
downloadchat-180adc79af3d14de6ce62f6e687a6735db3fe82f.tar.gz
chat-180adc79af3d14de6ce62f6e687a6735db3fe82f.tar.bz2
chat-180adc79af3d14de6ce62f6e687a6735db3fe82f.zip
updated RHS upon profile picture save (#3604)
Diffstat (limited to 'webapp/components/rhs_comment.jsx')
-rw-r--r--webapp/components/rhs_comment.jsx4
1 files changed, 4 insertions, 0 deletions
diff --git a/webapp/components/rhs_comment.jsx b/webapp/components/rhs_comment.jsx
index 249d3f14a..ac029f6fa 100644
--- a/webapp/components/rhs_comment.jsx
+++ b/webapp/components/rhs_comment.jsx
@@ -47,6 +47,10 @@ export default class RhsComment extends React.Component {
return true;
}
+ if (!Utils.areObjectsEqual(nextProps.currentUser, this.props.currentUser)) {
+ return true;
+ }
+
return false;
}
createDropdown() {