summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornickago <ngonella@calpoly.edu>2015-07-09 12:17:16 -0700
committernickago <ngonella@calpoly.edu>2015-07-09 12:17:16 -0700
commitb1e2eccaf2b73194776c4c74a33e24022e6dd1e8 (patch)
treed6e53a72d1ae95e01801c73343d23dc65b58f512
parent44000b58d911af980a604ca977898760b4a35861 (diff)
downloadchat-b1e2eccaf2b73194776c4c74a33e24022e6dd1e8.tar.gz
chat-b1e2eccaf2b73194776c4c74a33e24022e6dd1e8.tar.bz2
chat-b1e2eccaf2b73194776c4c74a33e24022e6dd1e8.zip
Added curly brace
-rw-r--r--web/react/components/sidebar.jsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/web/react/components/sidebar.jsx b/web/react/components/sidebar.jsx
index 8b1a25dc9..2095978e8 100644
--- a/web/react/components/sidebar.jsx
+++ b/web/react/components/sidebar.jsx
@@ -264,8 +264,9 @@ var SidebarLoggedIn = React.createClass({
AsyncClient.getChannels(true);
}
} else if (msg.action == "user_added") {
- if (UserStore.getCurrentId() === msg.user_id)
+ if (UserStore.getCurrentId() === msg.user_id) {
AsyncClient.getChannels(true);
+ }
}
},
updateTitle: function() {