Users are now placed in the channel after joining it from the 'More...' channel menu

Этот коммит содержится в:
Reed Garmsen
2015-08-20 09:46:51 -07:00
родитель ddc192c025
Коммит d1955b982c

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

@@ -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;