Fix regression DMs will not open using jump to (#1920)

This commit is contained in:
Elias Nahum 2018-07-12 11:18:26 -04:00 committed by GitHub
parent d75e9f688c
commit a8202b8311
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -226,7 +226,7 @@ export default class ChannelSidebar extends Component {
return;
}
this.selectChannel(result.data.channel, currentChannelId);
this.selectChannel(result.data.channel || result.data, currentChannelId);
};
onPageSelected = (index) => {