Skip to content

Commit

Permalink
Already checked if it was a remove
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuafhiggins committed May 12, 2024
1 parent f396092 commit 9bb7811
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions historysync.go
Original file line number Diff line number Diff line change
Expand Up @@ -264,10 +264,8 @@ func (portal *Portal) sendBackfill(backfillID string, messages []*imessage.Messa
}
if msg.Tapback != nil && msg.Tapback.Remove {
//If we don't process it, there won't be a reaction; at least for BB, we never have to remove a reaction
if msg.Tapback.Remove {
portal.log.Debugln("Skipping", msg.GUID, "in backfill (it was a remove tapback)")
continue
}
portal.log.Debugln("Skipping", msg.GUID, "in backfill (it was a remove tapback)")
continue
}

validMessages = append(validMessages, msg)
Expand Down

0 comments on commit 9bb7811

Please sign in to comment.