Merge pull request #1083 from matrix-org/t3chguy/width_height_int
width and height must be int otherwise synapse criespull/21833/head
commit
bd00c1d4b1
|
@ -62,8 +62,8 @@ module.exports = React.createClass({
|
|||
var url = ContentRepo.getHttpUriForMxc(
|
||||
MatrixClientPeg.get().getHomeserverUrl(),
|
||||
ev.getContent().url,
|
||||
14 * window.devicePixelRatio,
|
||||
14 * window.devicePixelRatio,
|
||||
Math.ceil(14 * window.devicePixelRatio),
|
||||
Math.ceil(14 * window.devicePixelRatio),
|
||||
'crop'
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in New Issue