Merge pull request #443 from DarkKirb/patch-1

Allow stickers to be sent from Element Android
This commit is contained in:
Travis Ralston 2021-11-24 12:59:25 -07:00 committed by GitHub
commit 959b335d17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,6 +43,9 @@ export class ScalarWidgetApi {
data: {
description: sticker.description,
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,
info: {
mimetype: sticker.image.mimetype,