mirror of https://github.com/vector-im/riot-web
add FIXME
parent
a6b6be7f79
commit
bffb482133
|
@ -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://")) {
|
||||
|
|
Loading…
Reference in New Issue