mirror of
https://github.com/tulir/mautrix-whatsapp
synced 2024-12-04 20:52:54 +01:00
backfill: ignore edit messages
This commit is contained in:
parent
548cc4a2cb
commit
e36957bf14
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue