rename all instances of permalinkCreator

This commit is contained in:
Bruno Windels 2019-02-22 12:22:36 +01:00
parent be3d12721c
commit f7ea9cfeb2
5 changed files with 11 additions and 11 deletions

View file

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