Skip to content

Commit

Permalink
backfill: ignore edit messages
Browse files Browse the repository at this point in the history
  • Loading branch information
tulir committed Oct 11, 2024
1 parent 548cc4a commit e36957b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/connector/backfill.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ func (wa *WhatsAppClient) handleWAHistorySync(ctx context.Context, evt *waHistor
}

msgType := getMessageType(msgEvt.Message)
if msgType == "ignore" || strings.HasPrefix(msgType, "unknown_protocol_") {
if msgType == "ignore" || msgType == "edit" || strings.HasPrefix(msgType, "unknown_protocol_") {
ignoredTypes++
continue
}
Expand Down

0 comments on commit e36957b

Please sign in to comment.