specify timestamps for historical previews
This commit is contained in:
parent
f195d2eb24
commit
f9c914c40e
2 changed files with 3 additions and 2 deletions
|
@ -91,7 +91,7 @@ module.exports = React.createClass({
|
|||
var widget;
|
||||
if (this.state.link) {
|
||||
var LinkPreviewWidget = sdk.getComponent('rooms.LinkPreviewWidget');
|
||||
widget = <LinkPreviewWidget link={ this.state.link } onWidgetLoad={ this.props.onWidgetLoad }/>;
|
||||
widget = <LinkPreviewWidget link={ this.state.link } ts={ this.props.mxEvent.getTs() } onWidgetLoad={ this.props.onWidgetLoad }/>;
|
||||
}
|
||||
|
||||
switch (content.msgtype) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue