Skip to content

Commit c3830b8

Browse files
authored
handlewhatsapp: remove deduplication check
1 parent cbcb513 commit c3830b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/connector/handlewhatsapp.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ func (wa *WhatsAppClient) handleWAMessage(ctx context.Context, evt *events.Messa
299299
}
300300

301301
messageAssoc := evt.Message.GetMessageContextInfo().GetMessageAssociation()
302-
if assocType := messageAssoc.GetAssociationType(); assocType == waE2E.MessageAssociation_HD_IMAGE_DUAL_UPLOAD || assocType == waE2E.MessageAssociation_HD_VIDEO_DUAL_UPLOAD || assocType == waE2E.MessageAssociation_MOTION_PHOTO {
302+
if assocType := messageAssoc.GetAssociationType(); assocType == waE2E.MessageAssociation_HD_IMAGE_DUAL_UPLOAD || assocType == waE2E.MessageAssociation_HD_VIDEO_DUAL_UPLOAD {
303303
parentKey := messageAssoc.GetParentMessageKey()
304304
associatedMessage := evt.Message.GetAssociatedChildMessage().GetMessage()
305305
wa.UserLogin.Log.Debug().

0 commit comments

Comments
 (0)