Skip to content

Commit

Permalink
msgconv/from-whatsapp: fix handling ExtendedTextMessage
Browse files Browse the repository at this point in the history
  • Loading branch information
tulir committed Sep 25, 2024
1 parent 2607670 commit e61dea0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/msgconv/from-whatsapp.go
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ func (mc *MessageConverter) ToMatrix(
var part *bridgev2.ConvertedMessagePart
var contextInfo *waE2E.ContextInfo
switch {
case waMsg.Conversation != nil:
case waMsg.Conversation != nil, waMsg.ExtendedTextMessage != nil:
part, contextInfo = mc.convertTextMessage(ctx, waMsg)
case waMsg.TemplateMessage != nil:
part, contextInfo = mc.convertTemplateMessage(ctx, info, waMsg.TemplateMessage)
Expand Down

0 comments on commit e61dea0

Please sign in to comment.