summaryrefslogtreecommitdiffstats
path: root/webapp
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2017-03-15 09:50:06 -0400
committerHarrison Healey <harrisonmhealey@gmail.com>2017-03-15 09:50:06 -0400
commit43d56be34a4b712a516e40d73427a1c537c24821 (patch)
treef458bbb1b761120bb41a43d19879f0ddaeb2fc27 /webapp
parent6b208c5f3c84e13a8df206b38b08d6f270eb7d05 (diff)
downloadchat-43d56be34a4b712a516e40d73427a1c537c24821.tar.gz
chat-43d56be34a4b712a516e40d73427a1c537c24821.tar.bz2
chat-43d56be34a4b712a516e40d73427a1c537c24821.zip
Prevent double join calls when joining a public channel (#5761)
Diffstat (limited to 'webapp')
-rw-r--r--webapp/actions/channel_actions.jsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/webapp/actions/channel_actions.jsx b/webapp/actions/channel_actions.jsx
index df7bacac6..5d3a9db35 100644
--- a/webapp/actions/channel_actions.jsx
+++ b/webapp/actions/channel_actions.jsx
@@ -292,6 +292,7 @@ export function joinChannel(channel, success, error) {
channel.id,
() => {
ChannelStore.removeMoreChannel(channel.id);
+ ChannelStore.storeChannel(channel);
if (success) {
success();