Browse Source

Convert gif width/height to numbers

pull/66/merge
Tulir Asokan 6 months ago
parent
commit
333567f481
  1. 6
      web/src/giphy.js

6
web/src/giphy.js

@ -68,9 +68,9 @@ export class GiphySearchTab extends Component {
widgetAPI.sendSticker({ widgetAPI.sendSticker({
"body": gif.title, "body": gif.title,
"info": { "info": {
"h": gif.images.original.height,
"w": gif.images.original.width,
"size": gif.images.original.size,
"h": +gif.images.original.height,
"w": +gif.images.original.width,
"size": +gif.images.original.size,
"mimetype": "image/webp", "mimetype": "image/webp",
}, },
"msgtype": "m.image", "msgtype": "m.image",

Loading…
Cancel
Save