Change timestamp permalinks to matrix.to

This commit is contained in:
Luke Barnard 2017-03-03 10:42:44 +00:00
parent 6a007d01a1
commit 923ea9c6aa

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