Prevent double join calls when joining a public channel (#5761)

This commit is contained in:
Joram Wilander
2017-03-15 09:50:06 -04:00
committed by Harrison Healey
parent 6b208c5f3c
commit 43d56be34a

View File

@@ -292,6 +292,7 @@ export function joinChannel(channel, success, error) {
channel.id,
() => {
ChannelStore.removeMoreChannel(channel.id);
ChannelStore.storeChannel(channel);
if (success) {
success();