mirror of
https://github.com/element-hq/element-web
synced 2024-11-28 20:38:55 +03:00
Use, if possible, a room's canonical or first alias when viewing the room
(Only affects rooms the user has never joined)
This commit is contained in:
parent
abff4ee6b5
commit
98312a4647
1 changed files with 1 additions and 0 deletions
|
@ -49,6 +49,7 @@ const RoomDetailRow = React.createClass({
|
|||
dis.dispatch({
|
||||
action: 'view_room',
|
||||
room_id: this.props.room.roomId,
|
||||
room_alias: this.props.room.canonicalAlias || this.props.room.aliases[0],
|
||||
});
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue