Merge pull request #1574 from matrix-org/luke/fix-groups-rooms-list-view-room-dispatch

Use, if possible, a room's canonical or first alias when viewing the …
pull/21833/head
Luke Barnard 2017-11-03 18:46:58 +00:00 committed by GitHub
commit d03f2826c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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],
});
},