aboutsummaryrefslogtreecommitdiffstats
path: root/sticker/lib/matrix.py
diff options
context:
space:
mode:
authorcelogeek <65178+celogeek@users.noreply.github.com>2021-02-07 17:50:40 +0100
committercelogeek <65178+celogeek@users.noreply.github.com>2021-02-07 17:50:50 +0100
commit85813b22e5bded743f09ba9948fea18ff3c45654 (patch)
treee81e3ef78209fc76ee27a14f5096a0c04a142ff9 /sticker/lib/matrix.py
parentba0096275ce966107b9a00f42e9894af74cebb4c (diff)
add missing msgtype = m.sticker
On iOS the message is sent twice, with a duplicate event_id. It cause error on logs, in different places (synapse, mautrix, ...) It required to fix the already existing json or reimport the stickers. The "packs/scalar*" example already include this field, and it works.
Diffstat (limited to 'sticker/lib/matrix.py')
-rw-r--r--sticker/lib/matrix.py1
1 files changed, 1 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
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage