You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-10 09:22:25 +03:00
timestamps are permalinks
This commit is contained in:
@@ -312,7 +312,9 @@ module.exports = React.createClass({
|
|||||||
mx_EventTile_contextual: this.props.contextual,
|
mx_EventTile_contextual: this.props.contextual,
|
||||||
menu: this.state.menu,
|
menu: this.state.menu,
|
||||||
});
|
});
|
||||||
var timestamp = <MessageTimestamp ts={this.props.mxEvent.getTs()} />
|
var timestamp = <a href={ "#/room/" + this.props.mxEvent.getRoomId() +"/"+ this.props.mxEvent.getId() }>
|
||||||
|
<MessageTimestamp ts={this.props.mxEvent.getTs()} />
|
||||||
|
</a>
|
||||||
|
|
||||||
var aux = null;
|
var aux = null;
|
||||||
if (msgtype === 'm.image') aux = "sent an image";
|
if (msgtype === 'm.image') aux = "sent an image";
|
||||||
|
|||||||
Reference in New Issue
Block a user