Skip to content

Commit

Permalink
v2: fix message ID when handling incoming edits
Browse files Browse the repository at this point in the history
  • Loading branch information
tulir committed Jul 29, 2024
1 parent 5d21630 commit 478a3f1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/connector/handlesignal.go
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,7 @@ func (evt *Bv2ChatEvent) ConvertEdit(ctx context.Context, portal *bridgev2.Porta
Extra: lastPart.Extra,
})
convertedEdit.ModifiedParts[0].Part.EditCount++
convertedEdit.ModifiedParts[0].Part.ID = makeMessageID(evt.Info.Sender, editMsg.GetDataMessage().GetTimestamp())
return convertedEdit, nil
}

Expand Down

0 comments on commit 478a3f1

Please sign in to comment.