1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-07 10:46:24 +03:00

oops, forgot this

This commit is contained in:
Matthew Hodgson
2016-01-05 03:54:44 +00:00
parent 0e98764d82
commit 9cf49eb62d

View File

@@ -96,6 +96,10 @@ module.exports = React.createClass({
return MatrixClientPeg.get().mxcUrlToHttp(content.url, 480, 360);
},
onSvgLoad: function(event) {
dis.dispatch({ action: "svg_onload", svg: event.target });
},
render: function() {
var content = this.props.mxEvent.getContent();
var cli = MatrixClientPeg.get();