From 94020f9088d7498a38682f859a25a85b47d41178 Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Mon, 14 Oct 2024 12:31:47 +0300 Subject: [PATCH] msgconv/from-matrix: fix handling stickers --- pkg/msgconv/from-matrix.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/msgconv/from-matrix.go b/pkg/msgconv/from-matrix.go index 12535448..67bfea07 100644 --- a/pkg/msgconv/from-matrix.go +++ b/pkg/msgconv/from-matrix.go @@ -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{}