Merge pull request #735 from matrix-org/luke/matrix-to-timestamp-permalink

Change timestamp permalinks to matrix.to
pull/21833/head
David Baker 2017-03-06 11:07:50 +00:00 committed by GitHub
commit 49c66d8645
1 changed files with 1 additions and 1 deletions

View File

@ -413,7 +413,7 @@ module.exports = WithMatrixClient(React.createClass({
mx_EventTile_unverified: this.state.verified == false,
mx_EventTile_bad: this.props.mxEvent.getContent().msgtype === 'm.bad.encrypted',
});
var permalink = "#/room/" + this.props.mxEvent.getRoomId() +"/"+ this.props.mxEvent.getId();
var permalink = "https://matrix.to/#/" + this.props.mxEvent.getRoomId() +"/"+ this.props.mxEvent.getId();
var readAvatars = this.getReadAvatars();