Skip to content

Commit

Permalink
msgconv/from-matrix: fix handling stickers
Browse files Browse the repository at this point in the history
  • Loading branch information
tulir committed Oct 14, 2024
1 parent 878c7b8 commit 94020f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/msgconv/from-matrix.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{}
Expand Down

0 comments on commit 94020f9

Please sign in to comment.