web/stickerpicker: always include info

Fixes #568
This commit is contained in:
Tulir Asokan 2024-12-26 17:16:05 +02:00
parent 6aa4e91c0a
commit 57e067b671

View file

@ -47,7 +47,7 @@ const StickerPicker = ({ style, onSelect, room }: MediaPickerProps) => {
onSelect({
msgtype: "m.sticker",
body: emoji.t,
info: emoji.i,
info: emoji.i ?? {},
url: emoji.u,
})
close()