diff options
author | Reed Garmsen <rgarmsen2295@gmail.com> | 2015-08-20 09:46:51 -0700 |
---|---|---|
committer | Reed Garmsen <rgarmsen2295@gmail.com> | 2015-08-20 09:46:51 -0700 |
commit | d1955b982c32dfa7a1eff9988b4570cb870fa8df (patch) | |
tree | 049ac7d7610eff2b753c5bfbe088b9e1e3b0dee1 /web/react/components | |
parent | ddc192c025862ab4e8ab9a61185c06fd553cbf1f (diff) | |
download | chat-d1955b982c32dfa7a1eff9988b4570cb870fa8df.tar.gz chat-d1955b982c32dfa7a1eff9988b4570cb870fa8df.tar.bz2 chat-d1955b982c32dfa7a1eff9988b4570cb870fa8df.zip |
Users are now placed in the channel after joining it from the 'More...' channel menu
Diffstat (limited to 'web/react/components')
-rw-r--r-- | web/react/components/more_channels.jsx | 3 |
1 files changed, 2 insertions, 1 deletions
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; |