Convert gif width/height to numbers

This commit is contained in:
Tulir Asokan 2024-06-19 14:25:04 +03:00
parent 125d057e44
commit 333567f481
1 changed files with 3 additions and 3 deletions

View File

@ -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",