mirror of
https://github.com/mautrix/whatsapp.git
synced 2025-03-14 14:15:38 +00:00
msgconv/from-matrix: fix handling stickers
This commit is contained in:
parent
878c7b8718
commit
94020f9088
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ func (mc *MessageConverter) ToWhatsApp(
|
|||
ctx = context.WithValue(ctx, contextKeyClient, client)
|
||||
ctx = context.WithValue(ctx, contextKeyPortal, portal)
|
||||
if evt.Type == event.EventSticker {
|
||||
content.MsgType = event.MsgImage
|
||||
content.MsgType = event.MessageType(event.EventSticker.Type)
|
||||
}
|
||||
|
||||
message := &waE2E.Message{}
|
||||
|
|
Loading…
Add table
Reference in a new issue