add FIXME

pull/21833/head
Matthew Hodgson 2016-04-02 02:46:19 +01:00
parent a6b6be7f79
commit bffb482133
1 changed files with 1 additions and 0 deletions

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://")) {