瀏覽代碼

Remove msgtype in stickers

Tulir Asokan 3 年之前
父節點
當前提交
9d3b1bd8bd
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      mautrix_signal/portal.py

+ 1 - 0
mautrix_signal/portal.py

@@ -904,6 +904,7 @@ class Portal(DBPortal, BasePortal):
                 if reply_to and not message.body:
                     content.set_reply(reply_to)
                     reply_to = None
+                content.msgtype = None
                 event_id = await self._send_message(
                     intent, content, timestamp=message.timestamp, event_type=EventType.STICKER
                 )