Allow stickers to be sent from Element Android
Previous work was done in commit be8ebdbc3e192036b21b88b294fe04de0a92f3ab 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 a new issue