mirror of
https://github.com/maunium/stickerpicker.git
synced 2024-11-10 05:37:22 +01:00
Convert gif width/height to numbers
This commit is contained in:
parent
125d057e44
commit
333567f481
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user