Convert gif width/height to numbers

This commit is contained in:
Tulir Asokan 2024-06-19 14:25:04 +03:00 committed by Sam Therapy
parent c91f8afe94
commit 0cfde913e4
Signed by: sam
GPG key ID: 4D8B07C18F31ACBD

View file

@ -68,9 +68,9 @@ export class GiphySearchTab extends Component {
widgetAPI.sendSticker({
"body": gif.title,
"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",
},
"msgtype": "m.image",