rename all instances of permalinkCreator
This commit is contained in:
@@ -544,8 +544,8 @@ module.exports = withMatrixClient(React.createClass({
|
||||
});
|
||||
|
||||
let permalink = "#";
|
||||
if (this.props.permaLinkCreator) {
|
||||
permalink = this.props.permaLinkCreator.forEvent(this.props.mxEvent.getId());
|
||||
if (this.props.permalinkCreator) {
|
||||
permalink = this.props.permalinkCreator.forEvent(this.props.mxEvent.getId());
|
||||
}
|
||||
|
||||
const readAvatars = this.getReadAvatars();
|
||||
|
||||
@@ -56,7 +56,7 @@ module.exports = React.createClass({
|
||||
}
|
||||
if (EventTile.haveTileForEvent(ev)) {
|
||||
ret.push(<EventTile key={eventId+"+"+j} mxEvent={ev} contextual={contextual} highlights={highlights}
|
||||
permalinkCreator={this.props.permaLinkCreator}
|
||||
permalinkCreator={this.props.permalinkCreator}
|
||||
highlightLink={this.props.resultLink}
|
||||
onWidgetLoad={this.props.onWidgetLoad} />);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user