diff options
author | nickago <ngonella@calpoly.edu> | 2015-07-09 12:17:16 -0700 |
---|---|---|
committer | nickago <ngonella@calpoly.edu> | 2015-07-09 12:17:16 -0700 |
commit | b1e2eccaf2b73194776c4c74a33e24022e6dd1e8 (patch) | |
tree | d6e53a72d1ae95e01801c73343d23dc65b58f512 /web/react | |
parent | 44000b58d911af980a604ca977898760b4a35861 (diff) | |
download | chat-b1e2eccaf2b73194776c4c74a33e24022e6dd1e8.tar.gz chat-b1e2eccaf2b73194776c4c74a33e24022e6dd1e8.tar.bz2 chat-b1e2eccaf2b73194776c4c74a33e24022e6dd1e8.zip |
Added curly brace
Diffstat (limited to 'web/react')
-rw-r--r-- | web/react/components/sidebar.jsx | 3 |
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() { |