Convert gif width/height to numbers
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
bb435a4870
commit
3c17051642
@ -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,
|
"h": +gif.images.original.height,
|
||||||
"w": gif.images.original.width,
|
"w": +gif.images.original.width,
|
||||||
"size": gif.images.original.size,
|
"size": +gif.images.original.size,
|
||||||
"mimetype": "image/webp",
|
"mimetype": "image/webp",
|
||||||
},
|
},
|
||||||
"msgtype": "m.image",
|
"msgtype": "m.image",
|
||||||
|
Loading…
Reference in New Issue
Block a user