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

Этот коммит содержится в:
Joram Wilander
2017-03-15 09:50:06 -04:00
коммит произвёл Harrison Healey
родитель 6b208c5f3c
Коммит 43d56be34a

Просмотреть файл

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