Use, if possible, a room's canonical or first alias when viewing the room
(Only affects rooms the user has never joined)pull/21833/head
parent
abff4ee6b5
commit
98312a4647
|
@ -49,6 +49,7 @@ const RoomDetailRow = React.createClass({
|
||||||
dis.dispatch({
|
dis.dispatch({
|
||||||
action: 'view_room',
|
action: 'view_room',
|
||||||
room_id: this.props.room.roomId,
|
room_id: this.props.room.roomId,
|
||||||
|
room_alias: this.props.room.canonicalAlias || this.props.room.aliases[0],
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue