Users are now placed in the channel after joining it from the 'More...' channel menu
Этот коммит содержится в:
@@ -45,9 +45,10 @@ module.exports = React.createClass({
|
|||||||
},
|
},
|
||||||
handleJoin: function(id) {
|
handleJoin: function(id) {
|
||||||
client.joinChannel(id,
|
client.joinChannel(id,
|
||||||
function() {
|
function(data) {
|
||||||
$(this.refs.modal.getDOMNode()).modal('hide');
|
$(this.refs.modal.getDOMNode()).modal('hide');
|
||||||
asyncClient.getChannel(id);
|
asyncClient.getChannel(id);
|
||||||
|
utils.switchChannel(data);
|
||||||
}.bind(this),
|
}.bind(this),
|
||||||
function(err) {
|
function(err) {
|
||||||
this.state.serverError = err.message;
|
this.state.serverError = err.message;
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user