mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Prevent double join calls when joining a public channel (#5761)
This commit is contained in:
committed by
Harrison Healey
parent
6b208c5f3c
commit
43d56be34a
@@ -292,6 +292,7 @@ export function joinChannel(channel, success, error) {
|
||||
channel.id,
|
||||
() => {
|
||||
ChannelStore.removeMoreChannel(channel.id);
|
||||
ChannelStore.storeChannel(channel);
|
||||
|
||||
if (success) {
|
||||
success();
|
||||
|
||||
Reference in New Issue
Block a user