mirror of
https://github.com/turt2live/matrix-dimension.git
synced 2024-07-08 12:01:48 +00:00
Allow stickers to be sent from Element Android
Previous work was done in commit be8ebdbc3e
This fixes #441
This commit is contained in:
parent
02d616ba97
commit
7bec89bd5f
|
@ -43,6 +43,9 @@ export class ScalarWidgetApi {
|
||||||
data: {
|
data: {
|
||||||
description: sticker.description,
|
description: sticker.description,
|
||||||
content: {
|
content: {
|
||||||
|
// Element Android requires content.body to contain the sticker description, otherwise
|
||||||
|
// you will not be able to send any stickers
|
||||||
|
body: sticker.description,
|
||||||
url: sticker.thumbnail.mxc,
|
url: sticker.thumbnail.mxc,
|
||||||
info: {
|
info: {
|
||||||
mimetype: sticker.image.mimetype,
|
mimetype: sticker.image.mimetype,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user