summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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() {