diff options
| author | Tulir Asokan <tulir@maunium.net> | 2021-10-03 11:50:27 +0300 |
|---|---|---|
| committer | Tulir Asokan <tulir@maunium.net> | 2021-10-03 11:50:27 +0300 |
| commit | 591137ccb39bad45a245017c72c180031fe41470 (patch) | |
| tree | 3ebd591434b28ab8ba03aa760e73a5cf984e7b4f /sticker/lib | |
| parent | f29c165357ed116ba0af2f8589ae0a10d959e7e2 (diff) | |
| parent | 9443e79e97f45d0ed6c974fc23ec2ee510a4737b (diff) | |
Merge remote-tracking branch 'celogeek/fixes-ios-and-more'
Diffstat (limited to 'sticker/lib')
| -rw-r--r-- | sticker/lib/matrix.py | 1 | ||||
| -rw-r--r-- | sticker/lib/util.py | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/sticker/lib/matrix.py b/sticker/lib/matrix.py index cf405d8..e506e83 100644 --- a/sticker/lib/matrix.py +++ b/sticker/lib/matrix.py @@ -42,6 +42,7 @@ if TYPE_CHECKING: url: str info: MediaInfo id: str + msgtype: str else: MediaInfo = None StickerInfo = None diff --git a/sticker/lib/util.py b/sticker/lib/util.py index 2d58c82..2b3fe2a 100644 --- a/sticker/lib/util.py +++ b/sticker/lib/util.py @@ -76,4 +76,5 @@ def make_sticker(mxc: str, width: int, height: int, size: int, "mimetype": "image/png", }, }, + "msgtype": "m.sticker", } |
