mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-17 14:05:04 +08: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
@ -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 New Issue
Block a user