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

Change timestamp permalinks to matrix.to
This commit is contained in:
David Baker 2017-03-06 11:07:50 +00:00 committed by GitHub
commit 49c66d8645

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();