summaryrefslogtreecommitdiffstats
path: root/webapp/components/navbar.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/components/navbar.jsx')
-rw-r--r--webapp/components/navbar.jsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/webapp/components/navbar.jsx b/webapp/components/navbar.jsx
index cf671e64f..4a06d8914 100644
--- a/webapp/components/navbar.jsx
+++ b/webapp/components/navbar.jsx
@@ -115,7 +115,8 @@ export default class Navbar extends React.Component {
Client.leaveChannel(channelId,
() => {
- AsyncClient.getChannels(true);
+ ChannelActions.loadChannelsForCurrentUser();
+
if (this.state.isFavorite) {
ChannelActions.unmarkFavorite(channelId);
}