mirror of
https://github.com/turt2live/matrix-dimension.git
synced 2024-10-01 05:05:53 +00:00
Merge pull request #443 from DarkKirb/patch-1
Allow stickers to be sent from Element Android
This commit is contained in:
commit
959b335d17
@ -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