Adding getChannels call for when channel is deleted and your in it (#2851)

Этот коммит содержится в:
Christopher Speller
2016-05-02 17:15:46 -04:00
коммит произвёл Corey Hulen
родитель a169a8e882
Коммит 8125f3ca36

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

@@ -244,9 +244,8 @@ function handleChannelDeletedEvent(msg) {
if (ChannelStore.getCurrentId() === msg.channel_id) {
const teamUrl = TeamStore.getCurrentTeamRelativeUrl();
browserHistory.push(teamUrl + '/channels/' + Constants.DEFAULT_CHANNEL);
} else {
AsyncClient.getChannels();
}
AsyncClient.getChannels();
}
function handlePreferenceChangedEvent(msg) {