aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sticker/lib/matrix.py1
-rw-r--r--sticker/lib/util.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/sticker/lib/matrix.py b/sticker/lib/matrix.py
index 6d075bf..02fa925 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 240e8ea..20c8763 100644
--- a/sticker/lib/util.py
+++ b/sticker/lib/util.py
@@ -74,4 +74,5 @@ def make_sticker(mxc: str, width: int, height: int, size: int,
"mimetype": "image/png",
},
},
+ "msgtype": "m.sticker",
}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage