fix: Always send info object for stickers
This commit is contained in:
parent
f4196f38c3
commit
4fca106a51
1 changed files with 1 additions and 1 deletions
|
|
@ -65,7 +65,7 @@ class ChatEmojiPicker extends StatelessWidget {
|
||||||
controller.room.sendEvent(
|
controller.room.sendEvent(
|
||||||
{
|
{
|
||||||
'body': sticker.body,
|
'body': sticker.body,
|
||||||
if (sticker.info != null) 'info': sticker.info,
|
'info': sticker.info ?? {},
|
||||||
'url': sticker.url.toString(),
|
'url': sticker.url.toString(),
|
||||||
},
|
},
|
||||||
type: EventTypes.Sticker,
|
type: EventTypes.Sticker,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue