Skip to content

Commit

Permalink
Use a new msgID when replacing messages (xmpp). Fixes #1584 (#1623)
Browse files Browse the repository at this point in the history
  • Loading branch information
42wim authored Oct 24, 2021
1 parent b1f4031 commit c4fe462
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion bridge/xmpp/xmpp.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@ func (b *Bxmpp) Send(msg config.Message) (string, error) {
var msgReplaceID string
msgID := xid.New().String()
if msg.ID != "" {
msgID = msg.ID
msgReplaceID = msg.ID
}
b.Log.Debugf("=> Sending message %#v", msg)
Expand Down

0 comments on commit c4fe462

Please sign in to comment.