add FIXME

This commit is contained in:
Matthew Hodgson 2016-04-02 02:46:19 +01:00
parent a6b6be7f79
commit bffb482133

View file

@ -63,6 +63,7 @@ module.exports = React.createClass({
var p = this.state.preview;
if (!p) return <div/>;
// FIXME: do we want to factor out all image displaying between this and MImageBody - especially for lightboxing?
var image = p["og:image"];
var imageMaxWidth = 100, imageMaxHeight = 100;
if (image && image.startsWith("mxc://")) {