Merge pull request #3448 from matrix-org/bwindels/joinrdfix
Release: Directory should use the alias or server information to join the room
This commit is contained in:
commit
51dd0cd88a
1 changed files with 1 additions and 7 deletions
|
@ -390,13 +390,7 @@ module.exports = React.createClass({
|
||||||
},
|
},
|
||||||
|
|
||||||
onJoinClick: function(ev, room) {
|
onJoinClick: function(ev, room) {
|
||||||
this.props.onFinished();
|
this.showRoom(room, null, true);
|
||||||
MatrixClientPeg.get().joinRoom(room.room_id);
|
|
||||||
dis.dispatch({
|
|
||||||
action: 'view_room',
|
|
||||||
room_id: room.room_id,
|
|
||||||
joining: true,
|
|
||||||
});
|
|
||||||
ev.stopPropagation();
|
ev.stopPropagation();
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue