Skip to content

Commit

Permalink
handlematrix: ignore unsupported message IDs when sending read receipts
Browse files Browse the repository at this point in the history
  • Loading branch information
tulir committed Sep 10, 2024
1 parent 58416d1 commit fed58c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/connector/handlematrix.go
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ func (s *SignalClient) HandleMatrixReadReceipt(ctx context.Context, receipt *bri
for _, msg := range dbMessages {
userID, timestamp, err := signalid.ParseMessageID(msg.ID)
if err != nil {
return fmt.Errorf("failed to parse message ID %q: %w", msg.ID, err)
continue
}
messagesToRead[userID] = append(messagesToRead[userID], timestamp)
}
Expand Down

0 comments on commit fed58c6

Please sign in to comment.