Explorar o código

Remove msgtype in stickers

Tulir Asokan %!s(int64=3) %!d(string=hai) anos
pai
achega
9d3b1bd8bd
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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
                 )