Pass permallinkCreator to ImageView

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner 2021-02-24 19:11:08 +01:00
parent fa9ae89b5b
commit bd5efc7ceb
No known key found for this signature in database
GPG key ID: 9760693FDD98A790
4 changed files with 8 additions and 0 deletions

View file

@ -44,6 +44,8 @@ export default class MessageEvent extends React.Component {
/* the maximum image height to use, if the event is an image */
maxImageHeight: PropTypes.number,
permalinkCreator: PropTypes.object,
};
constructor(props) {
@ -120,6 +122,7 @@ export default class MessageEvent extends React.Component {
editState={this.props.editState}
onHeightChanged={this.props.onHeightChanged}
onMessageAllowed={this.onTileUpdate}
permalinkCreator={this.props.permalinkCreator}
/>;
}
}