From d1955b982c32dfa7a1eff9988b4570cb870fa8df Mon Sep 17 00:00:00 2001 From: Reed Garmsen Date: Thu, 20 Aug 2015 09:46:51 -0700 Subject: Users are now placed in the channel after joining it from the 'More...' channel menu --- web/react/components/more_channels.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'web/react') diff --git a/web/react/components/more_channels.jsx b/web/react/components/more_channels.jsx index 5261ed6a7..56366cde4 100644 --- a/web/react/components/more_channels.jsx +++ b/web/react/components/more_channels.jsx @@ -45,9 +45,10 @@ module.exports = React.createClass({ }, handleJoin: function(id) { client.joinChannel(id, - function() { + function(data) { $(this.refs.modal.getDOMNode()).modal('hide'); asyncClient.getChannel(id); + utils.switchChannel(data); }.bind(this), function(err) { this.state.serverError = err.message; -- cgit v1.2.3-1-g7c22